Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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_INFOstructure with information on the revocation status of the certificate. If the certificate is not revoked, pRevocationInfois NULL.

Requirements

Header wincrypt.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also