ValidationCASESTATUS Enumeration
Represents the status of a certificate chain validation operation.
Namespace: System.Net.Security
Assembly: System.Net.Primitives (in System.Net.Primitives.dll)
Syntax
public enum ValidationCASESTATUS
{
Success,
InvalidCertificate,
Revoked,
Expired,
UntrustedRoot,
NameMismatch,
InvalidUsage,
Untrusted,
Unknown
}
Members
-
SuccessThe certificate chain validation succeeded. -
InvalidCertificateThe certificate itself is invalid or malformed. -
RevokedThe certificate has been revoked. -
ExpiredThe certificate has expired. -
UntrustedRootThe certificate chain does not trust the root certificate. -
NameMismatchThe certificate's name does not match the name of the server it is authenticating. -
InvalidUsageThe certificate is not valid for the intended usage (e.g., not for server authentication). -
UntrustedThe certificate is not trusted by the system. -
UnknownAn unknown validation error occurred.
Remarks
This enumeration is used to indicate the result of certificate validation operations within the System.Net.Security namespace, particularly when establishing secure connections using protocols like SSL/TLS.
The RemoteCertificateValidationCallback delegate typically returns a value of this type (or a related structure/type that encapsulates this status) to inform the caller about the outcome of the certificate validation process.
Requirements
| Product | Versions |
|---|---|
| .NET | 5.0+, .NET Core 2.0+, .NET Framework 4.6+ |