Botan 2.19.1
Crypto and TLS for C&
Namespaces | Enumerations | Functions
tls_algos.h File Reference
#include <botan/types.h>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  Botan
 
namespace  Botan::TLS
 

Enumerations

enum class  Botan::TLS::Auth_Method {
  Botan::TLS::RSA , Botan::TLS::DSA , Botan::TLS::ECDSA , Botan::TLS::IMPLICIT = 0x10000 ,
  Botan::TLS::ANONYMOUS
}
 
enum class  Botan::TLS::Cipher_Algo {
  Botan::TLS::CHACHA20_POLY1305 , Botan::TLS::AES_128_CBC_HMAC_SHA1 = 100 , Botan::TLS::AES_128_CBC_HMAC_SHA256 , Botan::TLS::AES_128_CCM ,
  Botan::TLS::AES_128_CCM_8 , Botan::TLS::AES_128_GCM , Botan::TLS::AES_128_OCB , Botan::TLS::AES_256_CBC_HMAC_SHA1 = 200 ,
  Botan::TLS::AES_256_CBC_HMAC_SHA256 , Botan::TLS::AES_256_CBC_HMAC_SHA384 , Botan::TLS::AES_256_CCM , Botan::TLS::AES_256_CCM_8 ,
  Botan::TLS::AES_256_GCM , Botan::TLS::AES_256_OCB , Botan::TLS::CAMELLIA_128_CBC_HMAC_SHA1 = 300 , Botan::TLS::CAMELLIA_128_CBC_HMAC_SHA256 ,
  Botan::TLS::CAMELLIA_128_GCM , Botan::TLS::CAMELLIA_256_CBC_HMAC_SHA1 = 400 , Botan::TLS::CAMELLIA_256_CBC_HMAC_SHA256 , Botan::TLS::CAMELLIA_256_CBC_HMAC_SHA384 ,
  Botan::TLS::CAMELLIA_256_GCM , Botan::TLS::ARIA_128_GCM = 500 , Botan::TLS::ARIA_256_GCM , Botan::TLS::DES_EDE_CBC_HMAC_SHA1 = 1000 ,
  Botan::TLS::SEED_CBC_HMAC_SHA1
}
 
enum class  Botan::TLS::Group_Params : uint16_t {
  Botan::TLS::NONE = 0 , Botan::TLS::SECP256R1 = 23 , Botan::TLS::SECP384R1 = 24 , Botan::TLS::SECP521R1 = 25 ,
  Botan::TLS::BRAINPOOL256R1 = 26 , Botan::TLS::BRAINPOOL384R1 = 27 , Botan::TLS::BRAINPOOL512R1 = 28 , Botan::TLS::X25519 = 29 ,
  Botan::TLS::FFDHE_2048 = 256 , Botan::TLS::FFDHE_3072 = 257 , Botan::TLS::FFDHE_4096 = 258 , Botan::TLS::FFDHE_6144 = 259 ,
  Botan::TLS::FFDHE_8192 = 260
}
 
enum class  Botan::TLS::KDF_Algo { Botan::TLS::SHA_1 , Botan::TLS::SHA_256 , Botan::TLS::SHA_384 }
 
enum class  Botan::TLS::Kex_Algo {
  Botan::TLS::STATIC_RSA , Botan::TLS::DH , Botan::TLS::ECDH , Botan::TLS::CECPQ1 ,
  Botan::TLS::SRP_SHA , Botan::TLS::PSK , Botan::TLS::DHE_PSK , Botan::TLS::ECDHE_PSK
}
 
enum class  Botan::TLS::Nonce_Format { Botan::TLS::CBC_MODE , Botan::TLS::AEAD_IMPLICIT_4 , Botan::TLS::AEAD_XOR_12 }
 
enum class  Botan::TLS::Signature_Scheme : uint16_t {
  Botan::TLS::NONE = 0x0000 , Botan::TLS::RSA_PKCS1_SHA1 = 0x0201 , Botan::TLS::RSA_PKCS1_SHA256 = 0x0401 , Botan::TLS::RSA_PKCS1_SHA384 = 0x0501 ,
  Botan::TLS::RSA_PKCS1_SHA512 = 0x0601 , Botan::TLS::DSA_SHA1 = 0x0202 , Botan::TLS::DSA_SHA256 = 0x0402 , Botan::TLS::DSA_SHA384 = 0x0502 ,
  Botan::TLS::DSA_SHA512 = 0x0602 , Botan::TLS::ECDSA_SHA1 = 0x0203 , Botan::TLS::ECDSA_SHA256 = 0x0403 , Botan::TLS::ECDSA_SHA384 = 0x0503 ,
  Botan::TLS::ECDSA_SHA512 = 0x0603 , Botan::TLS::RSA_PSS_SHA256 = 0x0804 , Botan::TLS::RSA_PSS_SHA384 = 0x0805 , Botan::TLS::RSA_PSS_SHA512 = 0x0806 ,
  Botan::TLS::EDDSA_25519 = 0x0807 , Botan::TLS::EDDSA_448 = 0x0808
}
 

Functions

const std::vector< Signature_Scheme > & Botan::TLS::all_signature_schemes ()
 
Auth_Method Botan::TLS::auth_method_from_string (const std::string &str)
 
std::string Botan::TLS::auth_method_to_string (Auth_Method method)
 
Group_Params Botan::TLS::group_param_from_string (const std::string &group_name)
 
bool Botan::TLS::group_param_is_dh (Group_Params group)
 
std::string Botan::TLS::group_param_to_string (Group_Params group)
 
std::string Botan::TLS::hash_function_of_scheme (Signature_Scheme scheme)
 
std::string Botan::TLS::kdf_algo_to_string (KDF_Algo algo)
 
Kex_Algo Botan::TLS::kex_method_from_string (const std::string &str)
 
std::string Botan::TLS::kex_method_to_string (Kex_Algo method)
 
bool Botan::TLS::key_exchange_is_psk (Kex_Algo m)
 
std::string Botan::TLS::padding_string_for_scheme (Signature_Scheme scheme)
 
std::string Botan::TLS::sig_scheme_to_string (Signature_Scheme scheme)
 
std::string Botan::TLS::signature_algorithm_of_scheme (Signature_Scheme scheme)
 
bool Botan::TLS::signature_scheme_is_known (Signature_Scheme scheme)