Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

Overview

Finds a certificate by given context

Certificate $Crypto.GetCertificate(cert: CertificateContext)

Parses given certificate data from PFX content

Array<Certificate> $Crypto.GetCertificate(cert: string, password: string)

Arguments

Certificate context to find certificate
string password
Password of PFX content

Returns

Certificate if found, otherwise null Array of certificates found in PFX content

Remarks

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.

  • No labels