Aracılığıyla paylaş


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

Name Value Description
Success 0

The certificate chain was verified.

Untrusted 1

A certificate in the chain is not trusted.

Revoked 2

A certificate in the chain has been revoked.

Expired 3

A certificate in the chain has expired.

IncompleteChain 4

The certificate chain is missing one or more certificates.

InvalidSignature 5

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

WrongUsage 6

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

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.

InvalidCertificateAuthorityPolicy 8

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

BasicConstraintsError 9

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

UnknownCriticalExtension 10

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

RevocationInformationMissing 11

No installed or registered DLL was found to verify revocation.

RevocationFailure 12

Unable to connect to the revocation server.

OtherErrors 13

An unexpected error occurred while validating the certificate chain.

Applies to