SharkSSL™ Embedded SSL/TLS Stack

Detailed Description

Alert messages returned by function SharkSslCon_getAlertDescription.

Alert messages are generated by SharkSSL when processing the incoming data fails. Alert messages can also be received from the peer side, when the peer fails to process the data.

Macros

#define SHARKSSL_ALERT_CLOSE_NOTIFY   0
 SHARKSSL_ALERT_CLOSE_NOTIFY.
 
#define SHARKSSL_ALERT_UNEXPECTED_MESSAGE   10
 SHARKSSL_ALERT_UNEXPECTED_MESSAGE.
 
#define SHARKSSL_ALERT_BAD_RECORD_MAC   20
 SHARKSSL_ALERT_BAD_RECORD_MAC.
 
#define SHARKSSL_ALERT_DECRYPTION_FAILED   21
 SHARKSSL_ALERT_DECRYPTION_FAILED.
 
#define SHARKSSL_ALERT_RECORD_OVERFLOW   22
 SHARKSSL_ALERT_RECORD_OVERFLOW.
 
#define SHARKSSL_ALERT_DECOMPRESSION_FAILURE   30
 SHARKSSL_ALERT_DECOMPRESSION_FAILURE.
 
#define SHARKSSL_ALERT_HANDSHAKE_FAILURE   40
 SHARKSSL_ALERT_HANDSHAKE_FAILURE.
 
#define SHARKSSL_ALERT_BAD_CERTIFICATE   42
 SHARKSSL_ALERT_BAD_CERTIFICATE.
 
#define SHARKSSL_ALERT_UNSUPPORTED_CERTIFICATE   43
 SHARKSSL_ALERT_UNSUPPORTED_CERTIFICATE.
 
#define SHARKSSL_ALERT_CERTIFICATE_REVOKED   44
 SHARKSSL_ALERT_CERTIFICATE_REVOKED.
 
#define SHARKSSL_ALERT_CERTIFICATE_EXPIRED   45
 SHARKSSL_ALERT_CERTIFICATE_EXPIRED.
 
#define SHARKSSL_ALERT_CERTIFICATE_UNKNOWN   46
 SHARKSSL_ALERT_CERTIFICATE_UNKNOWN.
 
#define SHARKSSL_ALERT_ILLEGAL_PARAMETER   47
 SHARKSSL_ALERT_ILLEGAL_PARAMETER.
 
#define SHARKSSL_ALERT_UNKNOWN_CA   48
 SHARKSSL_ALERT_UNKNOWN_CA.
 
#define SHARKSSL_ALERT_ACCESS_DENIED   49
 SHARKSSL_ALERT_ACCESS_DENIED.
 
#define SHARKSSL_ALERT_DECODE_ERROR   50
 SHARKSSL_ALERT_DECODE_ERROR.
 
#define SHARKSSL_ALERT_DECRYPT_ERROR   51
 SHARKSSL_ALERT_DECRYPT_ERROR.
 
#define SHARKSSL_ALERT_EXPORT_RESTRICTION   60
 SHARKSSL_ALERT_EXPORT_RESTRICTION.
 
#define SHARKSSL_ALERT_PROTOCOL_VERSION   70
 SHARKSSL_ALERT_PROTOCOL_VERSION.
 
#define SHARKSSL_ALERT_INSUFFICIENT_SECURITY   71
 SHARKSSL_ALERT_INSUFFICIENT_SECURITY.
 
#define SHARKSSL_ALERT_INTERNAL_ERROR   80
 SHARKSSL_ALERT_INTERNAL_ERROR.
 
#define SHARKSSL_ALERT_USER_CANCELED   90
 SHARKSSL_ALERT_USER_CANCELED.
 
#define SHARKSSL_ALERT_NO_RENEGOTIATION   100
 SHARKSSL_ALERT_NO_RENEGOTIATION.
 
#define SHARKSSL_ALERT_UNRECOGNIZED_NAME   112
 SHARKSSL_ALERT_UNRECOGNIZED_NAME.
 
#define SHARKSSL_ALERT_NO_APPLICATION_PROTOCOL   120 /* RFC 7301 */
 SHARKSSL_ALERT_NO_APPLICATION_PROTOCOL.