Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_messages.h>
Public Member Functions | |
const std::vector< X509_Certificate > & | cert_chain () const |
Certificate_12 (const std::vector< uint8_t > &buf, const Policy &policy) | |
Certificate_12 (Handshake_IO &io, Handshake_Hash &hash, const std::vector< X509_Certificate > &certs) | |
size_t | count () const |
bool | empty () const |
std::vector< uint8_t > | serialize () const override |
Handshake_Type | type () const override |
std::string | type_string () const |
virtual Handshake_Type | wire_type () const |
Certificate Message of TLS 1.2
Definition at line 522 of file tls_messages.h.
Botan::TLS::Certificate_12::Certificate_12 | ( | Handshake_IO & | io, |
Handshake_Hash & | hash, | ||
const std::vector< X509_Certificate > & | cert_list ) |
Create a new Certificate message
Definition at line 24 of file msg_certificate_12.cpp.
References Botan::TLS::Handshake_IO::send(), and Botan::TLS::Handshake_Hash::update().
Botan::TLS::Certificate_12::Certificate_12 | ( | const std::vector< uint8_t > & | buf, |
const Policy & | policy ) |
Deserialize a Certificate message
Definition at line 32 of file msg_certificate_12.cpp.
References Botan::make_uint32(), and Botan::TLS::Policy::maximum_certificate_chain_size().
|
inline |
Definition at line 526 of file tls_messages.h.
|
inline |
Definition at line 528 of file tls_messages.h.
|
inline |
Definition at line 530 of file tls_messages.h.
|
overridevirtual |
Serialize a Certificate message
Implements Botan::TLS::Handshake_Message.
Definition at line 82 of file msg_certificate_12.cpp.
References Botan::get_byte_var().
|
inlineoverridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 524 of file tls_messages.h.
|
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().