<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />

AlertDescription

public abstract class AlertDescription
RFC 5246 7.2.
public const short access_denied = 49

A valid certificate was received, but when access control was applied, the sender decided not to proceed with negotiation.

public const short bad_certificate = 42

A certificate was corrupt, contained signatures that did not verify correctly, etc.

public const short bad_certificate_hash_value = 114

This alert is sent by servers when a certificate hash does not match a client provided certificate_hash.

public const short bad_certificate_status_response = 113

This alert is sent by clients that receive an invalid certificate status response (see Section 3.6 ).

public const short bad_record_mac = 20

This alert is returned if a record is received with an incorrect MAC.

public const short certificate_expired = 45

A certificate has expired or is not currently valid.

public const short certificate_required = 116

Sent by servers when a client certificate is desired but none was provided by the client.

public const short certificate_revoked = 44

A certificate was revoked by its signer.

public const short certificate_unknown = 46

Some other (unspecified) issue arose in processing the certificate, rendering it unacceptable.

public const short certificate_unobtainable = 111

This alert is sent by servers who are unable to retrieve a certificate chain from the URL supplied by the client(see Section 3.3).

public const short close_notify = 0

This message notifies the recipient that the sender will not send any more messages on this connection.

public const short decode_error = 50

A message could not be decoded because some field was out of the specified range or the length of the message was incorrect.

public const short decompression_failure = 30

The decompression function received improper input (e.g., data that would expand to excessive length).

public const short decrypt_error = 51

A handshake cryptographic operation failed, including being unable to correctly verify a signature or validate a Finished message.

public const short decryption_failed = 21

public const short export_restriction = 60

public const short handshake_failure = 40

Reception of a handshake_failure alert message indicates that the sender was unable to negotiate an acceptable set of security parameters given the options available.

public const short illegal_parameter = 47

A field in the handshake was out of range or inconsistent with other fields.

public const short inappropriate_fallback = 86

If TLS_FALLBACK_SCSV appears in ClientHello.cipher_suites and the highest protocol version supported by the server is higher than the version indicated in ClientHello.client_version, the server MUST respond with a fatal inappropriate_fallback alert[..].

public const short insufficient_security = 71

Returned instead of handshake_failure when a negotiation has failed specifically because the server requires ciphers more secure than those supported by the client.

public const short internal_error = 80

An internal error unrelated to the peer or the correctness of the protocol (such as a memory allocation failure) makes it impossible to continue.

public const short missing_extension = 109

Sent by endpoints that receive a handshake message not containing an extension that is mandatory to send for the offered TLS version or other negotiated parameters.

public const short no_application_protocol = 120

In the event that the server supports no protocols that the client advertises, then the server SHALL respond with a fatal "no_application_protocol" alert.

public const short no_certificate = 41

public const short no_renegotiation = 100

Sent by the client in response to a hello request or by the server in response to a client hello after initial handshaking.

public const short protocol_version = 70

The protocol version the client has attempted to negotiate is recognized but not supported.

public const short record_overflow = 22

A TLSCiphertext record was received that had a length more than 2^14+2048 bytes, or a record decrypted to a TLSCompressed record with more than 2^14+1024 bytes.

public const short unexpected_message = 10

An inappropriate message was received.

public const short unknown_ca = 48

A valid certificate chain or partial chain was received, but the certificate was not accepted because the CA certificate could not be located or couldn't be matched with a known, trusted CA.

public const short unknown_psk_identity = 115

If the server does not recognize the PSK identity, it MAY respond with an "unknown_psk_identity" alert message.

public const short unrecognized_name = 112

This alert is sent by servers that receive a server_name extension request, but do not recognize the server name.

public const short unsupported_certificate = 43

A certificate was of an unsupported type.

public const short unsupported_extension = 110

Sent by clients that receive an extended server hello containing an extension that they did not put in the corresponding client hello.

public const short user_canceled = 90

This handshake is being canceled for some reason unrelated to a protocol failure.

protected AlertDescription()

public static string GetName(short alertDescription)

public static string GetText(short alertDescription)