CERT_CHAIN_POLICY_PARA structure (wincrypt.h)
The CERT_CHAIN_POLICY_PARA structure contains information used in CertVerifyCertificateChainPolicy to establish policy criteria for the verification of certificate chains.
Syntax
typedef struct _CERT_CHAIN_POLICY_PARA {
DWORD cbSize;
DWORD dwFlags;
void *pvExtraPolicyPara;
} CERT_CHAIN_POLICY_PARA, *PCERT_CHAIN_POLICY_PARA;
Members
cbSize
The size, in bytes, of this structure.
dwFlags
A set of flags that indicate conditions that could potentially be not valid and that are to be ignored in building certificate chains.
The pszPolicyOID parameter of the CertVerifyCertificateChainPolicy function can contain one of the following values:
- CERT_CHAIN_POLICY_BASE
- CERT_CHAIN_POLICY_AUTHENTICODE
- CERT_CHAIN_POLICY_AUTHENTICODE_TS
- CERT_CHAIN_POLICY_SSL
- CERT_CHAIN_POLICY_NT_AUTH
Value | Meaning |
---|---|
|
Ignore not time valid errors. |
|
Ignore certificate trust list (CTL) not time valid errors. |
|
Ignore time nesting errors. |
|
Ignore all time validity errors. |
|
Ignore basic constraint errors. |
|
Allow untrusted roots. |
|
Ignore invalid usage errors. |
|
Ignore invalid name errors. |
|
Ignore invalid policy errors. |
|
Ignores errors in obtaining valid revocation information. |
|
Ignores errors in obtaining valid CTL revocation information. |
|
Ignores errors in obtaining valid certification authority (CA) revocation information. |
|
Ignores errors in obtaining valid root revocation information. |
|
Ignores errors in obtaining valid revocation information. |
|
Allow untrusted test roots. |
|
Always trust test roots. |
|
Ignore critical extension not supported errors. |
|
Ignore peer trusts. |
If the pszPolicyOID parameter of the CertVerifyCertificateChainPolicy function contains CERT_CHAIN_POLICY_BASIC_CONSTRAINTS, this member can be zero or a combination of one or more of the following values.
If the pszPolicyOID parameter of the CertVerifyCertificateChainPolicy function contains CERT_CHAIN_POLICY_MICROSOFT_ROOT, this member can be zero or the following value.
pvExtraPolicyPara
The address of a pszPolicyOID-specific structure that provides additional validity policy conditions.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wincrypt.h |