|
Botan 3.11.0
Crypto and TLS for C&
|
#include <tls_messages_12.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_12 () override | |
Certificate Message of TLS 1.2
Definition at line 207 of file tls_messages_12.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 27 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 35 of file msg_certificate_12.cpp.
References Botan::make_uint32(), and Botan::TLS::Policy::maximum_certificate_chain_size().
|
overridedefault |
References serialize().
|
inline |
Definition at line 211 of file tls_messages_12.h.
| size_t Botan::TLS::Certificate_12::count | ( | ) | const |
Definition at line 105 of file msg_certificate_12.cpp.
|
inline |
Definition at line 215 of file tls_messages_12.h.
|
overridevirtual |
Serialize a Certificate message
Implements Botan::TLS::Handshake_Message.
Definition at line 85 of file msg_certificate_12.cpp.
References Botan::get_byte_var().
Referenced by ~Certificate_12().
|
inlineoverridevirtual |
Implements Botan::TLS::Handshake_Message.
Definition at line 209 of file tls_messages_12.h.
References Botan::TLS::Certificate.
|
inherited |
Definition at line 21 of file tls_handshake_state.cpp.
References Botan::TLS::handshake_type_to_string(), and type().
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Hello_Retry_Request.
Definition at line 39 of file tls_handshake_msg.h.
References type().
Referenced by Botan::TLS::Stream_Handshake_IO::send().