TlsFailureReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
Other | 0 | Some other reason. See Error Code for specific failure. |
LocalCertificateNotFound | 1 | The local certificate specified was not found in the local computer store. |
UntrustedRemoteCertificate | 2 | The certificate presented by the remote was not trusted. |
IncorrectNameInRemoteCertificate | 3 | The target name specified in certificate is incorrect. |
CertificateExpired | 4 | The certificate presented by the remote has expired. |
TlsNegotiationFailure | 5 | The Tls negotiation failed. Either the local certificate is unusable or the remote does not trust it. |
RemoteDisconnected | 6 | The remote disconnected while TLS negotiation was in progress. |
RemoteCertificateRevoked | 7 | The remote certificate was revoked. |
RemoteCertificateInvalidUsage | 8 | The remote certificate does not have the required enhanced key usage. |