Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_channel_impl_13.h>
Public Member Functions | |
AggregatedMessages (AggregatedMessages &&)=delete | |
AggregatedMessages (Channel_Impl_13 &channel, Handshake_Layer &handshake_layer) | |
AggregatedMessages (const AggregatedMessages &)=delete | |
bool | contains_messages () const |
AggregatedMessages & | operator= (AggregatedMessages &&)=delete |
AggregatedMessages & | operator= (const AggregatedMessages &)=delete |
std::vector< uint8_t > | send () |
~AggregatedMessages ()=default | |
Protected Attributes | |
Channel_Impl_13 & | m_channel |
Handshake_Layer & | m_handshake_layer |
std::vector< uint8_t > | m_message_buffer |
Helper class to coalesce handshake messages into a single TLS record of type 'Handshake'. This is used entirely internally in the Channel, Client and Server implementations.
Note that implementations should use the derived classes that either aggregate conventional Handshake messages or Post-Handshake messages.
Definition at line 59 of file tls_channel_impl_13.h.
Botan::TLS::Channel_Impl_13::AggregatedMessages::AggregatedMessages | ( | Channel_Impl_13 & | channel, |
Handshake_Layer & | handshake_layer ) |
Definition at line 220 of file tls_channel_impl_13.cpp.
|
delete |
|
delete |
|
default |
|
inline |
Definition at line 78 of file tls_channel_impl_13.h.
References m_message_buffer.
|
delete |
|
delete |
std::vector< uint8_t > Botan::TLS::Channel_Impl_13::AggregatedMessages::send | ( | ) |
Send the messages aggregated in the message buffer. The buffer is returned if the sender needs to also handle it somehow. Most notable use: book keeping for a potential protocol downgrade in the client implementation.
Definition at line 242 of file tls_channel_impl_13.cpp.
References BOTAN_STATE_CHECK, and Botan::TLS::Handshake.
Referenced by Botan::TLS::Channel_Impl_13::send_handshake_message(), and Botan::TLS::Channel_Impl_13::send_post_handshake_message().
|
protected |
Definition at line 83 of file tls_channel_impl_13.h.
|
protected |
Definition at line 84 of file tls_channel_impl_13.h.
|
protected |
Definition at line 81 of file tls_channel_impl_13.h.
Referenced by contains_messages().