Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_messages.h>
Public Member Functions | |
std::vector< X509_DN > | acceptable_CAs () const |
Certificate_Request_13 (const std::vector< uint8_t > &buf, Connection_Side side) | |
const std::vector< Signature_Scheme > & | certificate_signature_schemes () const |
const std::vector< uint8_t > & | context () const |
const Extensions & | extensions () const |
std::vector< uint8_t > | serialize () const override |
const std::vector< Signature_Scheme > & | signature_schemes () const |
Handshake_Type | type () const override |
std::string | type_string () const |
virtual Handshake_Type | wire_type () const |
Static Public Member Functions | |
static std::optional< Certificate_Request_13 > | maybe_create (const Client_Hello_13 &sni_hostname, Credentials_Manager &cred_mgr, Callbacks &callbacks, const Policy &policy) |
Definition at line 725 of file tls_messages.h.
Botan::TLS::Certificate_Request_13::Certificate_Request_13 | ( | const std::vector< uint8_t > & | buf, |
Connection_Side | side ) |
Definition at line 21 of file msg_certificate_req_13.cpp.
References Botan::TLS::CertificateAuthorities, Botan::TLS::CertificateStatusRequest, Botan::TLS::CertSignatureAlgorithms, Botan::TLS::Extensions::contains_implemented_extensions_other_than(), Botan::TLS::Extensions::deserialize(), Botan::TLS::TLS_Data_Reader::get_tls_length_value(), Botan::TLS::Extensions::has(), Botan::TLS::Server, Botan::TLS::SignatureAlgorithms, and type().
Referenced by maybe_create().
std::vector< X509_DN > Botan::TLS::Certificate_Request_13::acceptable_CAs | ( | ) | const |
Definition at line 123 of file msg_certificate_req_13.cpp.
References Botan::TLS::Extensions::get(), and Botan::TLS::Extensions::has().
Referenced by Botan::TLS::Certificate_13::Certificate_13().
const std::vector< Signature_Scheme > & Botan::TLS::Certificate_Request_13::certificate_signature_schemes | ( | ) | const |
Definition at line 138 of file msg_certificate_req_13.cpp.
References Botan::TLS::Extensions::get(), and signature_schemes().
Referenced by Botan::TLS::Certificate_13::Certificate_13().
|
inline |
Definition at line 746 of file tls_messages.h.
|
inline |
Definition at line 742 of file tls_messages.h.
Referenced by Botan::TLS::Certificate_13::Certificate_13().
|
static |
Creates a Certificate_Request message if it is required by the configuration
Definition at line 104 of file msg_certificate_req_13.cpp.
References Certificate_Request_13(), Botan::TLS::Policy::request_client_certificate_authentication(), Botan::TLS::Client_Hello::sni_hostname(), and Botan::Credentials_Manager::trusted_certificate_authorities().
|
overridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 150 of file msg_certificate_req_13.cpp.
References Botan::TLS::append_tls_length_value(), Botan::TLS::Extensions::serialize(), and Botan::TLS::Server.
const std::vector< Signature_Scheme > & Botan::TLS::Certificate_Request_13::signature_schemes | ( | ) | const |
Definition at line 130 of file msg_certificate_req_13.cpp.
References BOTAN_ASSERT_NOMSG, Botan::TLS::Extensions::get(), and Botan::TLS::Extensions::has().
Referenced by Botan::TLS::Certificate_13::Certificate_13(), and certificate_signature_schemes().
|
overridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 17 of file msg_certificate_req_13.cpp.
References Botan::TLS::CertificateRequest.
Referenced by Certificate_Request_13().
|
inherited |
Definition at line 19 of file tls_handshake_state.cpp.
References Botan::TLS::handshake_type_to_string(), and Botan::TLS::Handshake_Message::type().
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Hello_Retry_Request.
Definition at line 39 of file tls_handshake_msg.h.
Referenced by Botan::TLS::Stream_Handshake_IO::send().