Partager via


CertificateValidationStatus enumeration

Indicates whether the associated certificate is valid and why.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Enumeration CertificateValidationStatus
'Usage
Dim instance As CertificateValidationStatus
public enum CertificateValidationStatus

Members

Member name Description
Valid The chain that was built had no errors or warnings.
ValidSelfSigned The certificate is valid, but it is self-signed.
EmptyCertificate The certificate was null or empty during the chain validation process.
SubjectMismatch Certificate subject does not match the passed value.
SignatureFailure The signature of the certificate cannot be verified.
UntrustedRoot A certificate chain processed, but it terminated in a root certificate that is not trusted by the trust provider.
UntrustedTestRoot The root certificate is a test certificate and policy settings disallow test certificates.
InternalChainFailure An internal certificate chaining error has occurred.
WrongUsage The certificate is not valid for the requested usage.
CertificateExpired A required certificate is not within its validity period when verifying against the current system clock or the time stamp in the signed file.
ValidityPeriodNesting The validity periods of the certification chain do not nest correctly.
PurposeError A certificate is being used for a purpose that is not supported.
BasicConstraintsError A certificate's basic constraint extension has not been observed.
WrongRole A certificate that can only be used as an end entity is being used as a certification authority (CA) or vice versa.
NoCNMatch The common name (CN) of the certificate does not match the passed value.
Revoked The certificate or signature has been revoked.
RevocationOffline The revocation function was unable to check revocation because the revocation server was offline.
CertificateRevoked A certificate was explicitly revoked by its issuer.
RevocationFailure The revocation process could not continue. The certificates could not be checked.
NoRevocationCheck The revocation function was unable to check revocation for the certificate.
ExchangeServerAuthCertificate An internal Exchange certificate was used, which is the case for AnonymousTls.
Other The status does not fit into any of the other predefined status values.

See also

Reference

Microsoft.Exchange.Data.Transport namespace