Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_extensions.h>
Public Member Functions | |
bool | empty () const override |
virtual bool | is_implemented () const |
uint16_t | limit () const |
Record_Size_Limit (TLS_Data_Reader &reader, uint16_t extension_size, Connection_Side from) | |
Record_Size_Limit (uint16_t limit) | |
std::vector< uint8_t > | serialize (Connection_Side whoami) const override |
Extension_Code | type () const override |
Static Public Member Functions | |
static Extension_Code | static_type () |
Record Size Limit (RFC 8449)
TODO: the record size limit is currently not honored by the TLS 1.2 stack
Definition at line 567 of file tls_extensions.h.
|
explicit |
Definition at line 778 of file tls_extensions.cpp.
References BOTAN_ASSERT, limit(), and Botan::TLS::MAX_PLAINTEXT_SIZE.
Botan::TLS::Record_Size_Limit::Record_Size_Limit | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size, | ||
Connection_Side | from ) |
Definition at line 784 of file tls_extensions.cpp.
References Botan::TLS::TLS_Data_Reader::get_uint16_t(), Botan::TLS::MAX_PLAINTEXT_SIZE, and Botan::TLS::Server.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 581 of file tls_extensions.h.
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 116 of file tls_extensions.h.
|
inline |
Definition at line 577 of file tls_extensions.h.
Referenced by Record_Size_Limit().
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 818 of file tls_extensions.cpp.
References Botan::get_byte().
|
inlinestatic |
Definition at line 569 of file tls_extensions.h.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 571 of file tls_extensions.h.