ChainValidationResult ChainValidationResult ChainValidationResult ChainValidationResult ChainValidationResult Enum


Describes the result of a certificate chain verification operation.

public : enum class ChainValidationResult
enum class winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult : int32_t
public enum ChainValidationResult
Public Enum ChainValidationResult
var value = Windows.Security.Cryptography.Certificates.ChainValidationResult.basicConstraintsError;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


BasicConstraintsError BasicConstraintsError BasicConstraintsError BasicConstraintsError BasicConstraintsError 9

The basic constraint extension of a certificate in the chain has not been observed.

Expired Expired Expired Expired Expired 3

A certificate in the chain has expired.

IncompleteChain IncompleteChain IncompleteChain IncompleteChain IncompleteChain 4

The certificate chain is missing one or more certificates.

InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy 8

A certificate in the chain has a policy that is not valid.

InvalidName InvalidName InvalidName InvalidName InvalidName 7

A certificate in the chain has a name that is not valid. The name is either not included in the permitted list or is explicitly excluded.

InvalidSignature InvalidSignature InvalidSignature InvalidSignature InvalidSignature 5

The signature of a certificate in the chain cannot be verified.

OtherErrors OtherErrors OtherErrors OtherErrors OtherErrors 13

An unexpected error occurred while validating the certificate chain.

RevocationFailure RevocationFailure RevocationFailure RevocationFailure RevocationFailure 12

Unable to connect to the revocation server.

RevocationInformationMissing RevocationInformationMissing RevocationInformationMissing RevocationInformationMissing RevocationInformationMissing 11

No installed or registered DLL was found to verify revocation.

Revoked Revoked Revoked Revoked Revoked 2

A certificate in the chain has been revoked.

Success Success Success Success Success 0

The certificate chain was verified.

UnknownCriticalExtension UnknownCriticalExtension UnknownCriticalExtension UnknownCriticalExtension UnknownCriticalExtension 10

A certificate in the chain contains an unknown extension that is marked "critical".

Untrusted Untrusted Untrusted Untrusted Untrusted 1

A certificate in the chain is not trusted.

WrongUsage WrongUsage WrongUsage WrongUsage WrongUsage 6

A certificate in the chain is being used for a purpose other than one specified by its CA.