TlsFailureReason Enum

Definition

Indicates possible reasons for TLS failure. Only common failures are given specific values.

public enum class TlsFailureReason
public enum TlsFailureReason
type TlsFailureReason = 
Public Enum TlsFailureReason
Inheritance
TlsFailureReason

Fields

CertificateExpired 4

The certificate presented by the remote has expired.

IncorrectNameInRemoteCertificate 3

The target name specified in certificate is incorrect.

LocalCertificateNotFound 1

The local certificate specified was not found in the local computer store.

Other 0

Some other reason. See Error Code for specific failure.

RemoteCertificateInvalidUsage 8

The remote certificate does not have the required enhanced key usage.

RemoteCertificateRevoked 7

The remote certificate was revoked.

RemoteDisconnected 6

The remote disconnected while TLS negotiation was in progress.

TlsNegotiationFailure 5

The Tls negotiation failed. Either the local certificate is unusable or the remote does not trust it.

UntrustedRemoteCertificate 2

The certificate presented by the remote was not trusted.

Applies to