Botan: src/ssl/tls_magic.h File Reference

Botan 1.10.16

Namespaces | Enumerations
tls_magic.h File Reference

Go to the source code of this file.

## Namespaces
| Botan

## Enumerations
enum | Botan::Alert_Level { Botan::WARNING = 1, Botan::FATAL = 2 }
enum | Botan::Alert_Type { Botan::CLOSE_NOTIFY = 0, Botan::UNEXPECTED_MESSAGE = 10, Botan::BAD_RECORD_MAC = 20, Botan::DECRYPTION_FAILED = 21, Botan::RECORD_OVERFLOW = 22, Botan::DECOMPRESSION_FAILURE = 30, Botan::HANDSHAKE_FAILURE = 40, Botan::BAD_CERTIFICATE = 42, Botan::UNSUPPORTED_CERTIFICATE = 43, Botan::CERTIFICATE_REVOKED = 44, Botan::CERTIFICATE_EXPIRED = 45, Botan::CERTIFICATE_UNKNOWN = 46, Botan::ILLEGAL_PARAMETER = 47, Botan::UNKNOWN_CA = 48, Botan::ACCESS_DENIED = 49, Botan::DECODE_ERROR = 50, Botan::DECRYPT_ERROR = 51, Botan::EXPORT_RESTRICTION = 60, Botan::PROTOCOL_VERSION = 70, Botan::INSUFFICIENT_SECURITY = 71, Botan::INTERNAL_ERROR = 80, Botan::USER_CANCELED = 90, Botan::NO_RENEGOTIATION = 100, Botan::UNKNOWN_PSK_IDENTITY = 115, Botan::NO_ALERT_TYPE = 0xFFFF }
enum | Botan::Certificate_Type { Botan::RSA_CERT = 1, Botan::DSS_CERT = 2, Botan::DH_RSA_CERT = 3, Botan::DH_DSS_CERT = 4 }
enum | Botan::Ciphersuite_Code { Botan::TLS_RSA_WITH_RC4_128_MD5 = 0x0004, Botan::TLS_RSA_WITH_RC4_128_SHA = 0x0005, Botan::TLS_RSA_WITH_3DES_EDE_CBC_SHA = 0x000A, Botan::TLS_RSA_WITH_AES_128_CBC_SHA = 0x002F, Botan::TLS_RSA_WITH_AES_256_CBC_SHA = 0x0035, Botan::TLS_RSA_WITH_AES_128_CBC_SHA256 = 0x003C, Botan::TLS_RSA_WITH_AES_256_CBC_SHA256 = 0x003D, Botan::TLS_RSA_WITH_SEED_CBC_SHA = 0x0096, Botan::TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 0x0013, Botan::TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 0x0032, Botan::TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 0x0038, Botan::TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = 0x0040, Botan::TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = 0x006A, Botan::TLS_DHE_DSS_WITH_SEED_CBC_SHA = 0x0099, Botan::TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 0x0016, Botan::TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 0x0033, Botan::TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 0x0039, Botan::TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = 0x0067, Botan::TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = 0x006B, Botan::TLS_DHE_RSA_WITH_SEED_CBC_SHA = 0x009A, Botan::TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = 0xC007, Botan::TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA = 0xC008, Botan::TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 0xC009, Botan::TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = 0xC00A, Botan::TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = 0xC023, Botan::TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = 0xC024, Botan::TLS_ECDHE_RSA_WITH_RC4_128_SHA = 0xC011, Botan::TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = 0xC012, Botan::TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 0xC013, Botan::TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 0xC014, Botan::TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = 0xC027, Botan::TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = 0xC028, Botan::TLS_NO_RENEGOTIATION_SCSV = 0x00FF }
enum | Botan::Compression_Algo { Botan::NO_COMPRESSION = 0x00 }
enum | Botan::Connection_Side { Botan::CLIENT, Botan::SERVER }
enum | Botan::Handshake_Type { Botan::HELLO_REQUEST = 0, Botan::CLIENT_HELLO = 1, Botan::CLIENT_HELLO_SSLV2 = 255, Botan::SERVER_HELLO = 2, Botan::CERTIFICATE = 11, Botan::SERVER_KEX = 12, Botan::CERTIFICATE_REQUEST = 13, Botan::SERVER_HELLO_DONE = 14, Botan::CERTIFICATE_VERIFY = 15, Botan::CLIENT_KEX = 16, Botan::FINISHED = 20, Botan::HANDSHAKE_CCS = 100, Botan::HANDSHAKE_NONE = 101 }
enum | Botan::Record_Type { Botan::CONNECTION_CLOSED = 0, Botan::CHANGE_CIPHER_SPEC = 20, Botan::ALERT = 21, Botan::HANDSHAKE = 22, Botan::APPLICATION_DATA = 23 }
enum | Botan::Size_Limits { Botan::MAX_PLAINTEXT_SIZE = 16*1024, Botan::MAX_COMPRESSED_SIZE = MAX_PLAINTEXT_SIZE + 1024, Botan::MAX_CIPHERTEXT_SIZE = MAX_COMPRESSED_SIZE + 1024 }
enum | Botan::TLS_Ciphersuite_Algos { Botan::TLS_ALGO_SIGNER_MASK = 0xFF000000, Botan::TLS_ALGO_SIGNER_ANON = 0x01000000, Botan::TLS_ALGO_SIGNER_RSA = 0x02000000, Botan::TLS_ALGO_SIGNER_DSA = 0x03000000, Botan::TLS_ALGO_SIGNER_ECDSA = 0x04000000, Botan::TLS_ALGO_KEYEXCH_MASK = 0x00FF0000, Botan::TLS_ALGO_KEYEXCH_NOKEX = 0x00010000, Botan::TLS_ALGO_KEYEXCH_RSA = 0x00020000, Botan::TLS_ALGO_KEYEXCH_DH = 0x00030000, Botan::TLS_ALGO_KEYEXCH_ECDH = 0x00040000, Botan::TLS_ALGO_MAC_MASK = 0x0000FF00, Botan::TLS_ALGO_MAC_MD5 = 0x00000100, Botan::TLS_ALGO_MAC_SHA1 = 0x00000200, Botan::TLS_ALGO_MAC_SHA256 = 0x00000300, Botan::TLS_ALGO_MAC_SHA384 = 0x00000400, Botan::TLS_ALGO_CIPHER_MASK = 0x000000FF, Botan::TLS_ALGO_CIPHER_RC4_128 = 0x00000001, Botan::TLS_ALGO_CIPHER_3DES_CBC = 0x00000002, Botan::TLS_ALGO_CIPHER_AES128_CBC = 0x00000003, Botan::TLS_ALGO_CIPHER_AES256_CBC = 0x00000004, Botan::TLS_ALGO_CIPHER_SEED_CBC = 0x00000005 }
enum | Botan::TLS_Handshake_Extension_Type { Botan::TLSEXT_SERVER_NAME_INDICATION = 0, Botan::TLSEXT_MAX_FRAGMENT_LENGTH = 1, Botan::TLSEXT_CLIENT_CERT_URL = 2, Botan::TLSEXT_TRUSTED_CA_KEYS = 3, Botan::TLSEXT_TRUNCATED_HMAC = 4, Botan::TLSEXT_USABLE_ELLIPTIC_CURVES = 10, Botan::TLSEXT_EC_POINT_FORMATS = 11, Botan::TLSEXT_SRP_IDENTIFIER = 12, Botan::TLSEXT_CERTIFICATE_TYPES = 9, Botan::TLSEXT_SESSION_TICKET = 35 }
enum | Botan::Version_Code { Botan::NO_VERSION_SET = 0x0000, Botan::SSL_V3 = 0x0300, Botan::TLS_V10 = 0x0301, Botan::TLS_V11 = 0x0302 }