Find UniqueContainerName
What is the UniqueContainerName?
Certificates, keys etc are stored in container. Every container has an unique name - the UniqueContainerName.
How do I get the name of the certificate container?
To access the right certificate Aloaha uses the UniqueContainername or the Certificate Serialnumber. Unlike the Certificate Serialnumber the UniqueContainerName is different on every machine. To be able to find that name the store has do be enumerated until the right certificate has been found.
The inbuilt Certificate Picker of Aloaha allows the user to pick the right certificate. Aloaha will then automatically write the correct data into the registry and into the internal variable ChoosenUniqueContainerName.
Please find a small demo VBS script below:
set pdf = createobject("aloahapdf.edit")
call pdf.choose_certificate
msgbox pdf.ChoosenUniqueContainerName
set pdf = nothing
Native Card Access and UniqueContainerName
In case you choose to access your smartcard native then please do specify the cardreader number in UniqueContainerName. The first card reader is 0. Up to 10 readers are supported.
Aloaha Software / Knowledge Base / PDF SDK / PDF Signature API / UniqueContainerName