Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_messages.h>
Public Member Functions | |
uint16_t | ciphersuite () const |
const Extensions & | extensions () const |
Server_Hello & | operator= (const Server_Hello &)=delete |
Server_Hello & | operator= (Server_Hello &&) noexcept |
virtual Protocol_Version | selected_version () const =0 |
std::vector< uint8_t > | serialize () const override |
Server_Hello (const Server_Hello &)=delete | |
Server_Hello (Server_Hello &&) noexcept | |
const Session_ID & | session_id () const |
Handshake_Type | type () const override |
std::string | type_string () const |
virtual Handshake_Type | wire_type () const |
~Server_Hello () override | |
Protected Member Functions | |
uint8_t | compression_method () const |
std::set< Extension_Code > | extension_types () const |
Protocol_Version | legacy_version () const |
const std::vector< uint8_t > & | random () const |
Server_Hello (std::unique_ptr< Server_Hello_Internal > data) | |
Protected Attributes | |
std::unique_ptr< Server_Hello_Internal > | m_data |
Server Hello Message
Definition at line 274 of file tls_messages.h.
|
delete |
|
defaultnoexcept |
|
overridedefault |
|
explicitprotected |
Definition at line 168 of file msg_server_hello.cpp.
uint16_t Botan::TLS::Server_Hello::ciphersuite | ( | ) | const |
Definition at line 218 of file msg_server_hello.cpp.
References m_data.
Referenced by Botan::TLS::Client_Hello_13::retry().
|
protected |
Definition at line 210 of file msg_server_hello.cpp.
References m_data.
Referenced by Botan::TLS::Server_Hello_13::basic_validation().
|
protected |
Definition at line 222 of file msg_server_hello.cpp.
References m_data.
const Extensions & Botan::TLS::Server_Hello::extensions | ( | ) | const |
Definition at line 226 of file msg_server_hello.cpp.
References m_data.
Referenced by Botan::TLS::Server_Hello_13::basic_validation(), Botan::TLS::Client_Hello_13::retry(), Botan::TLS::Server_Hello_13::Server_Hello_13(), Botan::TLS::Server_Hello_13::Server_Hello_13(), and Botan::TLS::Server_Hello_13::Server_Hello_13().
|
protected |
Definition at line 202 of file msg_server_hello.cpp.
References m_data.
Referenced by Botan::TLS::Server_Hello_13::basic_validation().
|
delete |
|
defaultnoexcept |
|
protected |
|
pure virtual |
Implemented in Botan::TLS::Server_Hello_12, and Botan::TLS::Server_Hello_13.
|
overridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 178 of file msg_server_hello.cpp.
References Botan::TLS::append_tls_length_value(), Botan::get_byte(), random(), and Botan::TLS::Server.
const Session_ID & Botan::TLS::Server_Hello::session_id | ( | ) | const |
Definition at line 214 of file msg_server_hello.cpp.
References m_data.
|
overridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 198 of file msg_server_hello.cpp.
References Botan::TLS::ServerHello.
|
inherited |
Definition at line 19 of file tls_handshake_state.cpp.
References Botan::TLS::handshake_type_to_string(), and Botan::TLS::Handshake_Message::type().
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Hello_Retry_Request.
Definition at line 39 of file tls_handshake_msg.h.
Referenced by Botan::TLS::Stream_Handshake_IO::send().
|
protected |
Definition at line 304 of file tls_messages.h.
Referenced by Botan::TLS::Server_Hello_13::basic_validation(), ciphersuite(), compression_method(), extension_types(), extensions(), Botan::TLS::Hello_Retry_Request::Hello_Retry_Request(), legacy_version(), Botan::TLS::Server_Hello_12::next_protocol(), Botan::TLS::Server_Hello_12::prefers_compressed_ec_points(), random(), Botan::TLS::Server_Hello_12::random_signals_downgrade(), Botan::TLS::Server_Hello_13::random_signals_downgrade(), Botan::TLS::Server_Hello_12::renegotiation_info(), Botan::TLS::Server_Hello_12::secure_renegotiation(), Botan::TLS::Server_Hello_13::selected_version(), Botan::TLS::Server_Hello_12::Server_Hello_12(), Botan::TLS::Server_Hello_12::Server_Hello_12(), Botan::TLS::Server_Hello_13::Server_Hello_13(), Botan::TLS::Server_Hello_13::Server_Hello_13(), Botan::TLS::Server_Hello_13::Server_Hello_13(), session_id(), Botan::TLS::Server_Hello_12::srtp_profile(), Botan::TLS::Server_Hello_12::supports_certificate_status_message(), Botan::TLS::Server_Hello_12::supports_encrypt_then_mac(), Botan::TLS::Server_Hello_12::supports_extended_master_secret(), and Botan::TLS::Server_Hello_12::supports_session_ticket().