Botan 3.5.0
Crypto and TLS for C&
tls_magic.h File Reference

Public Header. More...

#include <vector>
#include <botan/types.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 
namespace  Botan::TLS
 

Typedefs

using Botan::TLS::Transcript_Hash = std::vector<uint8_t>
 

Enumerations

enum class  Botan::TLS::Connection_Side { Botan::TLS::Client = 1 , Botan::TLS::Server = 2 , Botan::TLS::CLIENT = Client , Botan::TLS::SERVER = Server }
 
enum class  Botan::TLS::Handshake_Type {
  Botan::TLS::HelloRequest = 0 , Botan::TLS::ClientHello = 1 , Botan::TLS::ServerHello = 2 , Botan::TLS::HelloVerifyRequest = 3 ,
  Botan::TLS::NewSessionTicket = 4 , Botan::TLS::EndOfEarlyData = 5 , Botan::TLS::EncryptedExtensions = 8 , Botan::TLS::Certificate = 11 ,
  Botan::TLS::ServerKeyExchange = 12 , Botan::TLS::CertificateRequest = 13 , Botan::TLS::ServerHelloDone = 14 , Botan::TLS::CertificateVerify = 15 ,
  Botan::TLS::ClientKeyExchange = 16 , Botan::TLS::Finished = 20 , Botan::TLS::CertificateUrl = 21 , Botan::TLS::CertificateStatus = 22 ,
  Botan::TLS::KeyUpdate = 24 , Botan::TLS::HelloRetryRequest = 253 , Botan::TLS::HandshakeCCS = 254 , Botan::TLS::None = 255
}
 
enum  Botan::TLS::Size_Limits : size_t {
  Botan::TLS::TLS_HEADER_SIZE = 5 , Botan::TLS::DTLS_HEADER_SIZE = TLS_HEADER_SIZE + 8 , Botan::TLS::MAX_PLAINTEXT_SIZE = 16 * 1024 , Botan::TLS::MAX_COMPRESSED_SIZE = MAX_PLAINTEXT_SIZE + 1024 ,
  Botan::TLS::MAX_CIPHERTEXT_SIZE = MAX_COMPRESSED_SIZE + 1024 , Botan::TLS::MAX_AEAD_EXPANSION_SIZE_TLS13 = 255 , Botan::TLS::MAX_CIPHERTEXT_SIZE_TLS13 = MAX_PLAINTEXT_SIZE + MAX_AEAD_EXPANSION_SIZE_TLS13 + 1
}
 

Functions

const char * Botan::TLS::handshake_type_to_string (Handshake_Type type)
 

Detailed Description

Public Header.

Definition in file tls_magic.h.