ListCertificates¶
Lists all certificates that match the given context.
1 | |
The common name of the certificate.
SerialNumber : string
The serial number of the certificate.
Logout() : void
Logs out from the PKCS11 device.
TryLogin(pin: string) : string
Tries to log in to the PKCS11 device with the given PIN.>
Parameters¶
CertificateContext cert
The certificate context to use when searching for certificates.
Returns¶
An array of certificates that were found.
Remarks¶
If no certificates are found, an empty array is returned. An exception is thrown if the PKCS11 library or PFX file is not found or fails to load.
Listing certificates from a PFX file¶
1 | |
Listing certificates from a PKCS11 library¶
1 2 3 4 5 6 7 8 | |