Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_extensions.h>
Public Member Functions | |
Certificate_Type_Base (const Certificate_Type_Base &certificate_type_from_client, const std::vector< Certificate_Type > &server_preference) | |
Certificate_Type_Base (std::vector< Certificate_Type > supported_cert_types) | |
Certificate_Type_Base (TLS_Data_Reader &reader, uint16_t extension_size, Connection_Side from) | |
Client_Certificate_Type (const Client_Certificate_Type &cct, const Policy &policy) | |
bool | empty () const override |
virtual bool | is_implemented () const |
Certificate_Type | selected_certificate_type () const |
std::vector< uint8_t > | serialize (Connection_Side whoami) const override |
Extension_Code | type () const override |
void | validate_selection (const Certificate_Type_Base &from_server) const |
Static Public Member Functions | |
static Extension_Code | static_type () |
Definition at line 250 of file tls_extensions.h.
Botan::TLS::Client_Certificate_Type::Client_Certificate_Type | ( | const Client_Certificate_Type & | cct, |
const Policy & | policy ) |
Creates the Server Hello extension from the received client preferences.
Definition at line 392 of file tls_extensions.cpp.
Botan::TLS::Certificate_Type_Base::Certificate_Type_Base | ( | const Certificate_Type_Base & | certificate_type_from_client, |
const std::vector< Certificate_Type > & | server_preference ) |
Called by the server to select a cert type to be used in the handshake.
Definition at line 225 of file tls_extensions.cpp.
Botan::TLS::Certificate_Type_Base::Certificate_Type_Base | ( | std::vector< Certificate_Type > | supported_cert_types | ) |
Called by the client to advertise support for a number of cert types.
Definition at line 219 of file tls_extensions.cpp.
Botan::TLS::Certificate_Type_Base::Certificate_Type_Base | ( | TLS_Data_Reader & | reader, |
uint16_t | extension_size, | ||
Connection_Side | from ) |
Definition at line 229 of file tls_extensions.cpp.
|
inlineoverridevirtualinherited |
Implements Botan::TLS::Extension.
Definition at line 236 of file tls_extensions.h.
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Unknown_Extension.
Definition at line 116 of file tls_extensions.h.
|
inherited |
Definition at line 480 of file tls_extensions.cpp.
References BOTAN_ASSERT_NOMSG, and Botan::TLS::Server.
Referenced by Botan::TLS::Certificate_Type_Base::validate_selection().
|
overridevirtualinherited |
Implements Botan::TLS::Extension.
Definition at line 449 of file tls_extensions.cpp.
References Botan::TLS::append_tls_length_value(), BOTAN_ASSERT_NOMSG, Botan::TLS::Client, and Botan::TLS::Extension::type().
|
inlinestatic |
Definition at line 259 of file tls_extensions.h.
|
inlineoverridevirtual |
Implements Botan::TLS::Extension.
Definition at line 261 of file tls_extensions.h.
|
inherited |
Definition at line 465 of file tls_extensions.cpp.
References BOTAN_ASSERT_NOMSG, Botan::TLS::certificate_type_to_string(), Botan::TLS::Client, Botan::fmt(), Botan::TLS::Certificate_Type_Base::selected_certificate_type(), Botan::TLS::Server, and Botan::value_exists().