Partager via


CERT_CHAIN_ELEMENT (Compact 2013)

3/28/2014

This structure is a single element in a simple certificate chain. Each element has a pointer to a certificate context, a pointer to a structure that indicates the error status and information status of the certificate, and a pointer to a structure that indicates the revocation status of the certificate.

Syntax

typedef struct _CERT_CHAIN_ELEMENT {
  DWORD cbSize;
  PCCERT_CONTEXT pCertContext;
  CERT_TRUST_STATUS TrustStatus;
  PCERT_REVOCATION_INFO pRevocationInfo; 
} CERT_CHAIN_ELEMENT, *PCERT_CHAIN_ELEMENT;

Members

  • cbSize
    Size of this structure in bytes.
  • pCertContext
    Pointer to a certificate context.
  • TrustStatus
    Structure indicating the status of the certificate. The structure includes an error status code and an information status code. For information about status code values, see CERT_TRUST_STATUS.
  • pRevocationInfo
    Pointer to a CERT_REVOCATION_INFO structure with information on the revocation status of the certificate. If the certificate is not revoked, pRevocationInfo is NULL.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures
CERT_SIMPLE_CHAIN
CERT_TRUST_STATUS