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

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

Expired Expired Expired Expired Expired

A certificate in the chain has expired.

IncompleteChain IncompleteChain IncompleteChain IncompleteChain IncompleteChain

The certificate chain is missing one or more certificates.

InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy InvalidCertificateAuthorityPolicy

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

InvalidName InvalidName InvalidName InvalidName InvalidName

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

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

OtherErrors OtherErrors OtherErrors OtherErrors OtherErrors

An unexpected error occurred while validating the certificate chain.

RevocationFailure RevocationFailure RevocationFailure RevocationFailure RevocationFailure

Unable to connect to the revocation server.

RevocationInformationMissing RevocationInformationMissing RevocationInformationMissing RevocationInformationMissing RevocationInformationMissing

No installed or registered DLL was found to verify revocation.

Revoked Revoked Revoked Revoked Revoked

A certificate in the chain has been revoked.

Success Success Success Success Success

The certificate chain was verified.

UnknownCriticalExtension UnknownCriticalExtension UnknownCriticalExtension UnknownCriticalExtension UnknownCriticalExtension

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

Untrusted Untrusted Untrusted Untrusted Untrusted

A certificate in the chain is not trusted.

WrongUsage WrongUsage WrongUsage WrongUsage WrongUsage

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