CERT_POLICIES_INFO structure (wincrypt.h)

The CERT_POLICIES_INFO structure contains an array of CERT_POLICY_INFO.

CryptDecodeObject creates an instance of this structure when performed on a CERT_EXTENSION structure's Value member with the structure's pszObjId member set to szOID_CERT_POLICIES.

An instance of this structure can be used as input to CryptEncodeObject to create an appropriate CERT_EXTENSION.

Syntax

typedef struct _CERT_POLICIES_INFO {
  DWORD            cPolicyInfo;
  CERT_POLICY_INFO *rgPolicyInfo;
} CERT_POLICIES_INFO, *PCERT_POLICIES_INFO;

Members

cPolicyInfo

Number of elements in the rgPolicyInfo array.

rgPolicyInfo

Array of CERT_POLICY_INFO structures.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h

See also

CERT_EXTENSION

CERT_POLICY_INFO

CryptDecodeObject

CryptEncodeObject