CERT_INFO

This structure contains the certificate information.

typedef struct _CERT_INFO {
DWORD dwVersion;
CRYPT_INTEGER_BLOB SerialNumber;
CRYPT_ALGORITHM_IDENTIFIER SignatureAlgorithm;
CERT_NAME_BLOB Issuer;
FILETIME NotBefore;
FILETIME NotAfter;
CERT_NAME_BLOB Subject;
CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo;
CRYPT_BIT_BLOB IssuerUniqueId;
CRYPT_BIT_BLOB SubjectUniqueId;
DWORD cExtension;
PCERT_EXTENSION rgExtension;
} CERT_INFO,  *PCERT_INFO;

Members

  • dwVersion
    The certificate's version number. Defined version numbers are listed in the following table.

    Value Description
    CERT_V1 Version 1
    CERT_V2 Version 2
    CERT_V3 Version 3
  • SerialNumber
    The BLOB structure containing the certificate's serial number. The least significant byte is the zero byte of the pbData member of SerialNumber. The index for the last byte of pbData is one less than the value of the cbData member of SerialNumber. The most significant byte is the last byte of pbData. Leading 0x00 or 0xFF bytes are removed. See the CertCompareIntegerBlob function.

  • SignatureAlgorithm
    The CRYPT_ALGORITHM_IDENTIFIER structure containing the signature algorithm type and encoded additional encryption parameters.

  • Issuer
    The certificate issuer's name in encoded form.

  • NotBefore
    Date and time before which the certificate is not valid. For dates between 1950 and 2049 inclusive, the date and time is encoded UTC-time in the form YYMMDDHHMMSS. This member uses a two-digit year and is precise to seconds. For dates before 1950 or after 2049, encoded generalized time is used. Encoded generalized time is in the form YYYYMMDDHHSSMMM, using a four-digit year, and is precise to milliseconds. Even though generalized time supports millisecond resolution, the NotBefore time is only precise to seconds.

  • NotAfter
    Date and time after which the certificate is not valid. For dates between 1950 and 2049 inclusive, the date and time is encoded UTC-time in the form YYMMDDHHMMSS. This member uses a two-digit year and is precise to seconds. For dates before 1950 or after 2049, encoded generalized time is used. Encoded generalized time is in the form YYYYMMDDHHSSMMM, using a four-digit year, and is precise to milliseconds. Even though generalized time supports millisecond resolution, the NotAfter time is only precise to seconds.

  • Subject
    Certificate subject's encoded name.

  • SubjectPublicKeyInfo
    The BLOB structure containing the encoded public key and its algorithm.

  • IssuerUniqueId
    The BLOB structure containing a unique identifier of the issuer.

  • SubjectUniqueId
    The BLOB structure containing a unique identifier of the subject.

  • cExtension
    Number of elements in the rgExtension array.

  • rgExtension
    Array of pointers to CERT_EXTENSION structures, each containing extension information about the certificate.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CertCompareCertificate, CertGetSubjectCertificateFromStore, CryptSignAndEncodeCertificate, BLOB, CERT_EXTENSION, CERT_PUBLIC_KEY_INFO, CRYPT_ALGORITHM_IDENTIFIER, CRYPT_BIT_BLOB

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.