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 contains an array of chain elements and a summary trust status for the chain that the array represents.

Syntax

typedef struct _CERT_SIMPLE_CHAIN {
  DWORD 
cbSize;
  CERT_TRUST_STATUS 
TrustStatus;
  DWORD 
cElement;
  PCERT_CHAIN_ELEMENT* 
rgpElement;
  PCERT_TRUST_LIST_INFO 
pTrustListInfo;
} CERT_SIMPLE_CHAIN, *PCERT_SIMPLE_CHAIN;

Members

cbSize

Size of this structure in bytes.

TrustStatus

Structure that indicates the trust status of the whole chain. The structure includes an error status code and an information status code. For more information about status code values, see CERT_TRUST_STATUS.

cElement

Number of CERT_CHAIN_ELEMENTstructures in the array.

rgpElement

Pointer to an array of CERT_CHAIN_ELEMENTstructures. The array element rgpElement[0] is the end certificate chain element and rgpElement[ cElement-1] is the self-signed root certificate element.

pTrustListInfo

Pointer to a CERT_TRUST_LIST_INFOstructure that contains a pointer to a CTL connecting this chain to a next certificate chain. If the current chain is the final chain, pTrustListInfois 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