Compartilhar via


CERT_SIMPLE_CHAIN (Compact 2013)

3/28/2014

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.
  • rgpElement
    Pointer to an array of CERT_CHAIN_ELEMENT structures. 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_INFO structure that contains a pointer to a CTL connecting this chain to a next certificate chain. If the current chain is the final chain, pTrustListInfo is NULL.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures
CERT_CHAIN_CONTEXT
CERT_CHAIN_ELEMENT
CERT_TRUST_STATUS
CERT_TRUST_LIST_INFO