ChainValidationResult Enum

Definition

Describes the result of a certificate chain verification operation.

public enum class ChainValidationResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ChainValidationResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ChainValidationResult
var value = Windows.Security.Cryptography.Certificates.ChainValidationResult.success
Public Enum ChainValidationResult
Inheritance
ChainValidationResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

BasicConstraintsError 9

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

Expired 3

A certificate in the chain has expired.

IncompleteChain 4

The certificate chain is missing one or more certificates.

InvalidCertificateAuthorityPolicy 8

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

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 5

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

OtherErrors 13

An unexpected error occurred while validating the certificate chain.

RevocationFailure 12

Unable to connect to the revocation server.

RevocationInformationMissing 11

No installed or registered DLL was found to verify revocation.

Revoked 2

A certificate in the chain has been revoked.

Success 0

The certificate chain was verified.

UnknownCriticalExtension 10

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

Untrusted 1

A certificate in the chain is not trusted.

WrongUsage 6

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

Applies to