Alert.h File Reference
#include <WString.h>
Include dependency graph for Alert.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
Ssl | |
Macros | |
#define | SSL_ALERT_CODE_MAP(XX) |
Map of standard Alert codes. More... | |
#define | XX(tag, code) tag = code, |
Enumerations | |
enum | Ssl::Alert { Ssl::Alert::Invalid = -1, Ssl::Alert::XX } |
Alert codes defined by the standard. More... | |
Functions | |
String | Ssl::getAlertString (Alert alert) |
Macro Definition Documentation
◆ SSL_ALERT_CODE_MAP
#define SSL_ALERT_CODE_MAP | ( | XX | ) |
Value:
XX(CLOSE_NOTIFY, 0) \
XX(UNEXPECTED_MESSAGE, 10) \
XX(BAD_RECORD_MAC, 20) \
XX(RECORD_OVERFLOW, 22) \
XX(DECOMPRESSION_FAILURE, 30) \
XX(HANDSHAKE_FAILURE, 40) \
XX(BAD_CERTIFICATE, 42) \
XX(UNSUPPORTED_CERTIFICATE, 43) \
XX(CERTIFICATE_REVOKED, 44) \
XX(CERTIFICATE_EXPIRED, 45) \
XX(CERTIFICATE_UNKNOWN, 46) \
XX(ILLEGAL_PARAMETER, 47) \
XX(UNKNOWN_CA, 48) \
XX(ACCESS_DENIED, 49) \
XX(DECODE_ERROR, 50) \
XX(DECRYPT_ERROR, 51) \
XX(INVALID_VERSION, 70) \
XX(INSUFFICIENT_SECURITY, 71) \
XX(INTERNAL_ERROR, 80) \
XX(USER_CANCELLED, 90) \
XX(NO_RENEGOTIATION, 100) \
XX(UNSUPPORTED_EXTENSION, 110) \
XX(NO_APPLICATION_PROTOCOL, 120)
Map of standard Alert codes.
◆ XX
#define XX | ( | tag, | |
code | |||
) | tag = code, |