Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_extensions.h>
Public Member Functions | |
EarlyDataIndication (std::optional< uint32_t > max_early_data_size=std::nullopt) | |
EarlyDataIndication (TLS_Data_Reader &reader, uint16_t extension_size, Handshake_Type message_type) | |
bool | empty () const override |
virtual bool | is_implemented () const |
std::optional< uint32_t > | max_early_data_size () const |
std::vector< uint8_t > | serialize (Connection_Side whoami) const override |
Extension_Code | type () const override |
Static Public Member Functions | |
static Extension_Code | static_type () |
Indicates usage or support of early data as described in RFC 8446 4.2.10.
Definition at line 855 of file tls_extensions.h.
Botan::TLS::EarlyDataIndication::EarlyDataIndication | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size, | ||
Handshake_Type | message_type ) |
Definition at line 943 of file tls_extensions.cpp.
References Botan::TLS::TLS_Data_Reader::get_uint32_t(), and Botan::TLS::NewSessionTicket.
|
inline |
The max_early_data_size is exclusively provided by servers when using this extension in the NewSessionTicket message! Otherwise it stays std::nullopt and results in an empty extension. (RFC 8446 4.2.10).
Definition at line 874 of file tls_extensions.h.
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 961 of file tls_extensions.cpp.
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 116 of file tls_extensions.h.
|
inline |
Definition at line 865 of file tls_extensions.h.
Referenced by Botan::TLS::New_Session_Ticket_13::early_data_byte_limit().
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 931 of file tls_extensions.cpp.
References Botan::get_byte().
|
inlinestatic |
Definition at line 857 of file tls_extensions.h.
Referenced by Botan::TLS::Client_Hello_13::validate_updates().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 859 of file tls_extensions.h.