Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_extensions.h>
Public Member Functions | |
Cookie (const std::vector< uint8_t > &cookie) | |
Cookie (TLS_Data_Reader &reader, uint16_t extension_size) | |
bool | empty () const override |
const std::vector< uint8_t > & | get_cookie () const |
virtual bool | is_implemented () 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 () |
Cookie from RFC 8446 4.2.2
Definition at line 593 of file tls_extensions.h.
|
explicit |
Definition at line 828 of file tls_extensions.cpp.
|
explicit |
Definition at line 830 of file tls_extensions.cpp.
References Botan::TLS::TLS_Data_Reader::get_byte(), Botan::TLS::TLS_Data_Reader::get_uint16_t(), and Botan::TLS::TLS_Data_Reader::remaining_bytes().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 601 of file tls_extensions.h.
|
inline |
Definition at line 603 of file tls_extensions.h.
Referenced by Botan::TLS::Client_Hello_13::retry().
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 116 of file tls_extensions.h.
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 851 of file tls_extensions.cpp.
References Botan::get_byte().
|
inlinestatic |
Definition at line 595 of file tls_extensions.h.
Referenced by Botan::TLS::Client_Hello_13::validate_updates().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 597 of file tls_extensions.h.