CERT_NAME_CONSTRAINTS_INFO structure (wincrypt.h)

The CERT_NAME_CONSTRAINTS_INFO structure contains information about certificates that are specifically permitted or excluded from trust.

Syntax

typedef struct _CERT_NAME_CONSTRAINTS_INFO {
  DWORD                 cPermittedSubtree;
  PCERT_GENERAL_SUBTREE rgPermittedSubtree;
  DWORD                 cExcludedSubtree;
  PCERT_GENERAL_SUBTREE rgExcludedSubtree;
} CERT_NAME_CONSTRAINTS_INFO, *PCERT_NAME_CONSTRAINTS_INFO;

Members

cPermittedSubtree

DWORD indicating the number of subtrees in the rgPermittedSubtree array.

rgPermittedSubtree

Array of CERT_GENERAL_SUBTREE structures, each identifying a permitted certificate name.

cExcludedSubtree

DWORD indicating the number of subtrees in the rgExcludedSubtree array.

rgExcludedSubtree

Array of CERT_GENERAL_SUBTREE structures, each identifying an excluded certificate name.

Requirements

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