Specifies certificate acceptance values.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Enumeration TlsCertificateAcceptance
C#
public enum TlsCertificateAcceptance

Members

Member nameDescription
Accept
A certificate is to be accepted.
CommonNameMismatch
The certificate common name does not match the server's name.
RevocationCheckFailed
Unable to perform revocation check of the server certificate.
UnsupportedSignatureAlgorithm
The certificate chain contains a certificate with unsupported signature hash algorithm (usually SHA-2).
InvalidKeyUsage
The certificate key usage does not allow the certificate to be used as server certificate.
UnknownServerName
The target host name is unknown, which means that certificate's common name could not be verified.
Bad
A certificate is corrupt, contains signatures that do not verify correctly, etc.
Unsupported
A certificate is of an unsupported type.
Revoked
A certificate was revoked by its signer.
Expired
A certificate has expired or is not currently valid.
UnknownAuthority
A CA certificate could not be found or untrusted CA.
Other
Some other issue arose in processing the certificate, rendering it unacceptable.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also