Botan 2.19.1
Crypto and TLS for C&
|
#include <tls_messages.h>
Public Member Functions | |
const std::vector< X509_Certificate > & | cert_chain () const |
Certificate (const std::vector< uint8_t > &buf, const Policy &policy) | |
Certificate (Handshake_IO &io, Handshake_Hash &hash, const std::vector< X509_Certificate > &certs) | |
size_t | count () const |
bool | empty () const |
Handshake_Type | type () const override |
std::string | type_string () const |
Certificate Message
Definition at line 372 of file tls_messages.h.
Botan::TLS::Certificate::Certificate | ( | Handshake_IO & | io, |
Handshake_Hash & | hash, | ||
const std::vector< X509_Certificate > & | cert_list | ||
) |
Create a new Certificate message
Definition at line 25 of file msg_certificate.cpp.
References hash, and Botan::TLS::Handshake_IO::send().
|
explicit |
Deserialize a Certificate message
Definition at line 36 of file msg_certificate.cpp.
References Botan::TLS::Alert::BAD_CERTIFICATE, Botan::make_uint32(), and Botan::TLS::Policy::maximum_certificate_chain_size().
|
inline |
Definition at line 376 of file tls_messages.h.
|
inline |
Definition at line 378 of file tls_messages.h.
|
inline |
Definition at line 379 of file tls_messages.h.
|
inlineoverridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 375 of file tls_messages.h.
References Botan::TLS::CERTIFICATE.
|
inherited |
Definition at line 19 of file tls_handshake_state.cpp.
References Botan::TLS::handshake_type_to_string(), and Botan::TLS::Handshake_Message::type().