Overview
Finds a certificate by given contextCertificate $Crypto.GetCertificate(cert: CertificateContext)
Array<Certificate> $Crypto.GetCertificate(cert: string, password: string)
Arguments
CertificateContext cert
Certificate context to find certificate
string password
Password of PFX content
Returns
Certificate if found, otherwise null Array of certificates found in PFX contentRemarks
If multiple certificates found, first one is returned.
If no certificate found, null is returned.
Throws error exception if PKCS11 library or PFX file is not found or failed to load.