Botan 2.19.3
Crypto and TLS for C&
|
#include <tls_messages.h>
Classes | |
class | Settings |
Public Member Functions | |
uint16_t | ciphersuite () const |
uint8_t | compression_method () const |
std::set< Handshake_Extension_Type > | extension_types () const |
const Extensions & | extensions () const |
std::string | next_protocol () const |
bool | prefers_compressed_ec_points () const |
const std::vector< uint8_t > & | random () const |
bool | random_signals_downgrade () const |
std::vector< uint8_t > | renegotiation_info () const |
bool | secure_renegotiation () const |
Server_Hello (const std::vector< uint8_t > &buf) | |
Server_Hello (Handshake_IO &io, Handshake_Hash &hash, const Policy &policy, Callbacks &cb, RandomNumberGenerator &rng, const std::vector< uint8_t > &secure_reneg_info, const Client_Hello &client_hello, const Server_Hello::Settings &settings, const std::string next_protocol) | |
Server_Hello (Handshake_IO &io, Handshake_Hash &hash, const Policy &policy, Callbacks &cb, RandomNumberGenerator &rng, const std::vector< uint8_t > &secure_reneg_info, const Client_Hello &client_hello, Session &resumed_session, bool offer_session_ticket, const std::string &next_protocol) | |
const std::vector< uint8_t > & | session_id () const |
uint16_t | srtp_profile () const |
bool | supports_certificate_status_message () const |
bool | supports_encrypt_then_mac () const |
bool | supports_extended_master_secret () const |
bool | supports_session_ticket () const |
Handshake_Type | type () const override |
std::string | type_string () const |
Protocol_Version | version () const |
Server Hello Message
Definition at line 194 of file tls_messages.h.
Botan::TLS::Server_Hello::Server_Hello | ( | Handshake_IO & | io, |
Handshake_Hash & | hash, | ||
const Policy & | policy, | ||
Callbacks & | cb, | ||
RandomNumberGenerator & | rng, | ||
const std::vector< uint8_t > & | secure_reneg_info, | ||
const Client_Hello & | client_hello, | ||
const Server_Hello::Settings & | settings, | ||
const std::string | next_protocol | ||
) |
Definition at line 53 of file msg_server_hello.cpp.
References Botan::TLS::Extensions::add(), Botan::TLS::Ciphersuite::by_id(), Botan::TLS::Ciphersuite::cbc_ciphersuite(), Botan::TLS::Ciphersuite::ecc_ciphersuite(), Botan::TLS::Client_Hello::extension_types(), hash, Botan::TLS::Protocol_Version::is_datagram_protocol(), Botan::TLS::Policy::negotiate_encrypt_then_mac(), next_protocol(), Botan::TLS::Server_Hello::Settings::offer_session_ticket(), Botan::TLS::Client_Hello::secure_renegotiation(), Botan::TLS::Handshake_IO::send(), Botan::TLS::SERVER, Botan::TLS::Client_Hello::srtp_profiles(), Botan::TLS::Policy::srtp_profiles(), Botan::TLS::Policy::support_cert_status_message(), Botan::TLS::Client_Hello::supports_alpn(), Botan::TLS::Client_Hello::supports_cert_status_message(), Botan::TLS::Client_Hello::supports_encrypt_then_mac(), Botan::TLS::Client_Hello::supports_extended_master_secret(), Botan::TLS::Client_Hello::supports_session_ticket(), Botan::TLS::Callbacks::tls_modify_extensions(), Botan::TLS::TLSEXT_EC_POINT_FORMATS, and Botan::TLS::Policy::use_ecc_point_compression().
Botan::TLS::Server_Hello::Server_Hello | ( | Handshake_IO & | io, |
Handshake_Hash & | hash, | ||
const Policy & | policy, | ||
Callbacks & | cb, | ||
RandomNumberGenerator & | rng, | ||
const std::vector< uint8_t > & | secure_reneg_info, | ||
const Client_Hello & | client_hello, | ||
Session & | resumed_session, | ||
bool | offer_session_ticket, | ||
const std::string & | next_protocol | ||
) |
Definition at line 123 of file msg_server_hello.cpp.
References Botan::TLS::Extensions::add(), Botan::TLS::Ciphersuite::cbc_ciphersuite(), Botan::TLS::Client_Hello::extension_types(), hash, Botan::TLS::Policy::negotiate_encrypt_then_mac(), next_protocol(), resumed_session, Botan::TLS::Client_Hello::secure_renegotiation(), Botan::TLS::Handshake_IO::send(), Botan::TLS::SERVER, Botan::TLS::Client_Hello::supports_alpn(), Botan::TLS::Client_Hello::supports_encrypt_then_mac(), Botan::TLS::Client_Hello::supports_extended_master_secret(), Botan::TLS::Client_Hello::supports_session_ticket(), Botan::TLS::Callbacks::tls_modify_extensions(), Botan::TLS::TLSEXT_EC_POINT_FORMATS, and Botan::TLS::Policy::use_ecc_point_compression().
|
explicit |
Definition at line 171 of file msg_server_hello.cpp.
References Botan::TLS::Extensions::deserialize(), Botan::TLS::TLS_Data_Reader::get_byte(), Botan::TLS::TLS_Data_Reader::get_fixed(), Botan::TLS::TLS_Data_Reader::get_range(), Botan::TLS::TLS_Data_Reader::get_uint16_t(), and Botan::TLS::SERVER.
|
inline |
Definition at line 230 of file tls_messages.h.
|
inline |
Definition at line 232 of file tls_messages.h.
|
inline |
Definition at line 286 of file tls_messages.h.
|
inline |
Definition at line 289 of file tls_messages.h.
|
inline |
Definition at line 279 of file tls_messages.h.
Referenced by Server_Hello(), and Server_Hello().
|
inline |
Definition at line 291 of file tls_messages.h.
|
inline |
Definition at line 226 of file tls_messages.h.
bool Botan::TLS::Server_Hello::random_signals_downgrade | ( | ) | const |
Definition at line 217 of file msg_server_hello.cpp.
References Botan::load_be< uint64_t >().
|
inline |
Definition at line 239 of file tls_messages.h.
Referenced by Botan::TLS::Channel::secure_renegotiation_check().
|
inline |
Definition at line 234 of file tls_messages.h.
Referenced by Botan::TLS::Channel::secure_renegotiation_check().
|
inline |
Definition at line 228 of file tls_messages.h.
|
inline |
Definition at line 266 of file tls_messages.h.
|
inline |
Definition at line 256 of file tls_messages.h.
|
inline |
Definition at line 251 of file tls_messages.h.
|
inline |
Definition at line 246 of file tls_messages.h.
|
inline |
Definition at line 261 of file tls_messages.h.
|
inlineoverridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 222 of file tls_messages.h.
References Botan::TLS::SERVER_HELLO.
|
inherited |
Definition at line 19 of file tls_handshake_state.cpp.
References Botan::TLS::handshake_type_to_string(), and Botan::TLS::Handshake_Message::type().
|
inline |
Definition at line 224 of file tls_messages.h.