GetCertificateInfo

(Engine-Level Function)

Description: Returns a structure of information about a supplied X.509 certificate.
Returns: Structure
Usage: Script Only.
Function Groups: Certificates
Related to: AddCertificate | CheckCertificateChain | FindCertificate | ListCertificates | MakeSelfSignedCertificate | RemoveCertificate | SetCertificateProperty
Format: GetCertificateInfo(CertificateBLOB)
Parameters:  

CertificateBLOB

Required. A buffer holding a DER-binary encoded certificate BLOB (binary large object) of the certificate from which information is required.
Comments

The certificate blob may be obtained from a number of different sources. For example, it may be transmitted over a communication protocol or be the output of another certificate DAG.

The structure returned is of the same format as that returned from ListCertificates.

Example:

  ServerCertStruct = GetCertificateInfo(ServerCertBlob);