Botan
2.1.0
Crypto and TLS for C++11
|
#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 |
std::string | next_protocol () const |
bool | prefers_compressed_ec_points () const |
const std::vector< uint8_t > & | random () const |
std::vector< uint8_t > | renegotiation_info () const |
bool | secure_renegotiation () const |
Server_Hello (Handshake_IO &io, Handshake_Hash &hash, const Policy &policy, 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, 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) | |
Server_Hello (const std::vector< uint8_t > &buf) | |
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 255 of file tls_messages.h.
Botan::TLS::Server_Hello::Server_Hello | ( | Handshake_IO & | io, |
Handshake_Hash & | hash, | ||
const Policy & | policy, | ||
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 22 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::Protocol_Version::is_datagram_protocol(), Botan::TLS::Policy::negotiate_encrypt_then_mac(), Botan::TLS::Server_Hello::Settings::offer_session_ticket(), Botan::TLS::Client_Hello::secure_renegotiation(), Botan::TLS::Handshake_IO::send(), Botan::TLS::Client_Hello::srtp_profiles(), Botan::TLS::Policy::srtp_profiles(), 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::Handshake_Hash::update(), and Botan::TLS::Policy::use_ecc_point_compression().
Botan::TLS::Server_Hello::Server_Hello | ( | Handshake_IO & | io, |
Handshake_Hash & | hash, | ||
const Policy & | policy, | ||
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 89 of file msg_server_hello.cpp.
References Botan::TLS::Extensions::add(), Botan::TLS::Ciphersuite::cbc_ciphersuite(), Botan::TLS::Session::ciphersuite(), Botan::TLS::Ciphersuite::ecc_ciphersuite(), Botan::TLS::Policy::negotiate_encrypt_then_mac(), Botan::TLS::Client_Hello::secure_renegotiation(), Botan::TLS::Handshake_IO::send(), 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::Handshake_Hash::update(), and Botan::TLS::Policy::use_ecc_point_compression().
|
explicit |
Definition at line 143 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(), and Botan::TLS::TLS_Data_Reader::get_uint16_t().
|
inline |
Definition at line 295 of file tls_messages.h.
|
inline |
Definition at line 297 of file tls_messages.h.
|
inline |
Definition at line 351 of file tls_messages.h.
|
inline |
Definition at line 344 of file tls_messages.h.
|
inline |
Definition at line 354 of file tls_messages.h.
|
inline |
Definition at line 291 of file tls_messages.h.
|
inline |
Definition at line 304 of file tls_messages.h.
Referenced by Botan::TLS::Channel::secure_renegotiation_check().
|
inline |
Definition at line 299 of file tls_messages.h.
Referenced by Botan::TLS::Channel::secure_renegotiation_check().
|
inline |
Definition at line 293 of file tls_messages.h.
|
inline |
Definition at line 331 of file tls_messages.h.
|
inline |
Definition at line 321 of file tls_messages.h.
|
inline |
Definition at line 316 of file tls_messages.h.
|
inline |
Definition at line 311 of file tls_messages.h.
|
inline |
Definition at line 326 of file tls_messages.h.
|
inlineoverridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 287 of file tls_messages.h.
References Botan::TLS::SERVER_HELLO.
|
inherited |
Definition at line 17 of file tls_handshake_state.cpp.
References Botan::TLS::handshake_type_to_string(), and Botan::TLS::Handshake_Message::type().
|
inline |
Definition at line 289 of file tls_messages.h.