Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_messages.h>
Public Member Functions | |
const std::vector< X509_DN > & | acceptable_CAs () const |
const std::vector< std::string > & | acceptable_cert_types () const |
Certificate_Request_12 (const std::vector< uint8_t > &buf) | |
Certificate_Request_12 (Handshake_IO &io, Handshake_Hash &hash, const Policy &policy, const std::vector< X509_DN > &allowed_cas) | |
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 |
Certificate Request Message (TLS 1.2)
Definition at line 698 of file tls_messages.h.
Botan::TLS::Certificate_Request_12::Certificate_Request_12 | ( | Handshake_IO & | io, |
Handshake_Hash & | hash, | ||
const Policy & | policy, | ||
const std::vector< X509_DN > & | ca_certs ) |
Create a new Certificate Request message
Definition at line 54 of file msg_cert_req.cpp.
|
explicit |
Deserialize a Certificate Request message
Definition at line 66 of file msg_cert_req.cpp.
References Botan::TLS::TLS_Data_Reader::get_range_vector(), Botan::TLS::TLS_Data_Reader::get_uint16_t(), Botan::TLS::TLS_Data_Reader::has_remaining(), Botan::make_uint16(), name, and Botan::TLS::TLS_Data_Reader::remaining_bytes().
const std::vector< X509_DN > & Botan::TLS::Certificate_Request_12::acceptable_CAs | ( | ) | const |
Definition at line 115 of file msg_cert_req.cpp.
const std::vector< std::string > & Botan::TLS::Certificate_Request_12::acceptable_cert_types | ( | ) | const |
Definition at line 111 of file msg_cert_req.cpp.
|
overridevirtual |
Serialize a Certificate Request message
Implements Botan::TLS::Handshake_Message.
Definition at line 126 of file msg_cert_req.cpp.
References Botan::TLS::append_tls_length_value(), Botan::DER_Encoder::encode(), Botan::DER_Encoder::get_contents(), name, Botan::TLS::Signature_Algorithms::serialize(), and Botan::TLS::Server.
const std::vector< Signature_Scheme > & Botan::TLS::Certificate_Request_12::signature_schemes | ( | ) | const |
Definition at line 119 of file msg_cert_req.cpp.
Referenced by Botan::TLS::Handshake_State::choose_sig_format(), and Botan::TLS::Handshake_State::parse_sig_format().
|
overridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 21 of file msg_cert_req.cpp.
References Botan::TLS::CertificateRequest.
|
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().