Botan 3.8.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 566 of file tls_extensions.h.
|
explicit |
Definition at line 786 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 792 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 580 of file tls_extensions.h.
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 115 of file tls_extensions.h.
|
inline |
Definition at line 576 of file tls_extensions.h.
Referenced by Record_Size_Limit().
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 826 of file tls_extensions.cpp.
References Botan::get_byte().
|
inlinestatic |
Definition at line 568 of file tls_extensions.h.
References Botan::TLS::RecordSizeLimit.
Referenced by type().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 570 of file tls_extensions.h.
References static_type().