共用方式為


CERT_VALIDATION_POLICY

The following constants indicate the certificate validation policies supported during certificate validation.

CERT_VALIDATION_POLICY_RESERVED

0x00

This value is reserved.

CERT_VALIDATION_POLICY_NONE

0x01

The corresponding private key of the stored certificate is used for authentication.

CERT_VALIDATION_POLICY_BASIC

0x02

The certificate and certificate chain conforms to the basic validation policy.

CERT_VALIDATION_POLICY_EXTENDED

0x03

The certificate chain conforms to the extended validation policy. The use of this validation policy must result in an error condition of the Certificate Silo if it does not support parsing of certificate extensions.

Requirements

Minimum supported client
Windows Vista with SP2 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
EhStorExtensions.h