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

  • Success The certificate chain validation succeeded.
  • InvalidCertificate The certificate itself is invalid or malformed.
  • Revoked The certificate has been revoked.
  • Expired The certificate has expired.
  • UntrustedRoot The certificate chain does not trust the root certificate.
  • NameMismatch The certificate's name does not match the name of the server it is authenticating.
  • InvalidUsage The certificate is not valid for the intended usage (e.g., not for server authentication).
  • Untrusted The certificate is not trusted by the system.
  • Unknown An 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+