|
Botan 3.11.0
Crypto and TLS for C&
|
#include <tls_messages_internal.h>
Public Member Functions | |
| const std::vector< uint16_t > & | ciphersuites () const |
| Client_Hello_Internal () | |
| Client_Hello_Internal (const std::vector< uint8_t > &buf) | |
| const std::vector< uint8_t > & | comp_methods () const |
| Extensions & | extensions () |
| const Extensions & | extensions () const |
| const std::vector< uint8_t > & | hello_cookie () const |
| const std::vector< uint8_t > & | hello_cookie_input_bits () const |
| Protocol_Version | legacy_version () const |
| const std::vector< uint8_t > & | random () const |
| const Session_ID & | session_id () const |
| Protocol_Version | version () const |
Public Attributes | |
| std::vector< uint8_t > | m_comp_methods |
| std::vector< uint8_t > | m_cookie_input_bits |
| Extensions | m_extensions |
| std::vector< uint8_t > | m_hello_cookie |
| Protocol_Version | m_legacy_version |
| std::vector< uint8_t > | m_random |
| Session_ID | m_session_id |
| std::vector< uint16_t > | m_suites |
Version-agnostic internal client hello data container that allows parsing Client_Hello messages without prior knowledge of the contained protocol version.
Definition at line 57 of file tls_messages_internal.h.
|
inline |
Definition at line 59 of file tls_messages_internal.h.
References m_comp_methods.
|
explicit |
Definition at line 46 of file msg_client_hello.cpp.
References Botan::TLS::Client, Botan::TLS::ClientHello, Botan::HashFunction::create_or_throw(), Botan::TLS::TLS_Data_Reader::get_byte(), Botan::TLS::TLS_Data_Reader::get_data_read_so_far(), Botan::TLS::TLS_Data_Reader::get_fixed(), Botan::TLS::TLS_Data_Reader::get_range(), Botan::TLS::TLS_Data_Reader::get_range_vector(), Botan::TLS::TLS_Data_Reader::get_remaining(), m_comp_methods, m_cookie_input_bits, m_extensions, m_hello_cookie, m_legacy_version, m_random, m_session_id, and m_suites.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 88 of file tls_messages_internal.h.
References m_extensions.
Referenced by version().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Protocol_Version Botan::TLS::Client_Hello_Internal::version | ( | ) | const |
This distinguishes between a TLS 1.3 compliant Client Hello (containing the "supported_version" extension) and legacy Client Hello messages.
Definition at line 76 of file msg_client_hello.cpp.
References extensions(), and m_legacy_version.
| std::vector<uint8_t> Botan::TLS::Client_Hello_Internal::m_comp_methods |
Definition at line 97 of file tls_messages_internal.h.
Referenced by Client_Hello_Internal(), Client_Hello_Internal(), and comp_methods().
| std::vector<uint8_t> Botan::TLS::Client_Hello_Internal::m_cookie_input_bits |
Definition at line 102 of file tls_messages_internal.h.
Referenced by Client_Hello_Internal(), and hello_cookie_input_bits().
| Extensions Botan::TLS::Client_Hello_Internal::m_extensions |
Definition at line 98 of file tls_messages_internal.h.
Referenced by Client_Hello_Internal(), extensions(), and extensions().
| std::vector<uint8_t> Botan::TLS::Client_Hello_Internal::m_hello_cookie |
Definition at line 101 of file tls_messages_internal.h.
Referenced by Client_Hello_Internal(), and hello_cookie().
| Protocol_Version Botan::TLS::Client_Hello_Internal::m_legacy_version |
Definition at line 93 of file tls_messages_internal.h.
Referenced by Client_Hello_Internal(), legacy_version(), and version().
| std::vector<uint8_t> Botan::TLS::Client_Hello_Internal::m_random |
Definition at line 95 of file tls_messages_internal.h.
Referenced by Client_Hello_Internal(), and random().
| Session_ID Botan::TLS::Client_Hello_Internal::m_session_id |
Definition at line 94 of file tls_messages_internal.h.
Referenced by Client_Hello_Internal(), and session_id().
| std::vector<uint16_t> Botan::TLS::Client_Hello_Internal::m_suites |
Definition at line 96 of file tls_messages_internal.h.
Referenced by ciphersuites(), and Client_Hello_Internal().