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 |
std::vector< uint8_t > | serialize (Connection_Side whoami) const override |
Supported_Versions (Protocol_Version version) | |
Supported_Versions (Protocol_Version version, const Policy &policy) | |
Supported_Versions (TLS_Data_Reader &reader, uint16_t extension_size, Connection_Side from) | |
bool | supports (Protocol_Version version) const |
Extension_Code | type () const override |
const std::vector< Protocol_Version > & | versions () const |
Static Public Member Functions | |
static Extension_Code | static_type () |
Supported Versions from RFC 8446
Definition at line 536 of file tls_extensions.h.
Botan::TLS::Supported_Versions::Supported_Versions | ( | Protocol_Version | version, |
const Policy & | policy ) |
Definition at line 729 of file tls_extensions.cpp.
References Botan::TLS::Policy::allow_dtls12(), Botan::TLS::Policy::allow_tls12(), Botan::TLS::Policy::allow_tls13(), and Botan::TLS::Protocol_Version::is_datagram_protocol().
|
inline |
Definition at line 548 of file tls_extensions.h.
Botan::TLS::Supported_Versions::Supported_Versions | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size, | ||
Connection_Side | from ) |
Definition at line 750 of file tls_extensions.cpp.
References Botan::TLS::TLS_Data_Reader::get_range(), Botan::TLS::TLS_Data_Reader::get_uint16_t(), Botan::TLS::Server, and versions().
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 544 of file tls_extensions.h.
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 116 of file tls_extensions.h.
|
overridevirtual |
Implements Botan::TLS::Extension.
Definition at line 707 of file tls_extensions.cpp.
References BOTAN_ASSERT_NOMSG, and Botan::TLS::Server.
|
inlinestatic |
Definition at line 538 of file tls_extensions.h.
bool Botan::TLS::Supported_Versions::supports | ( | Protocol_Version | version | ) | const |
Definition at line 769 of file tls_extensions.cpp.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 540 of file tls_extensions.h.
|
inline |
Definition at line 554 of file tls_extensions.h.
Referenced by Supported_Versions().