Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_channel_impl_13.h>
Public Member Functions | |
AggregatedHandshakeMessages & | add (Handshake_Message_13_Ref message) |
AggregatedHandshakeMessages (Channel_Impl_13 &channel, Handshake_Layer &handshake_layer, Transcript_Hash_State &transcript_hash) | |
bool | contains_messages () const |
std::vector< uint8_t > | send () |
Protected Attributes | |
Channel_Impl_13 & | m_channel |
Handshake_Layer & | m_handshake_layer |
std::vector< uint8_t > | m_message_buffer |
Aggregate conventional handshake messages. This will update the given Transcript_Hash_State accordingly as individual messages are added to the aggregation.
Definition at line 92 of file tls_channel_impl_13.h.
Botan::TLS::Channel_Impl_13::AggregatedHandshakeMessages::AggregatedHandshakeMessages | ( | Channel_Impl_13 & | channel, |
Handshake_Layer & | handshake_layer, | ||
Transcript_Hash_State & | transcript_hash ) |
Definition at line 223 of file tls_channel_impl_13.cpp.
Channel_Impl_13::AggregatedHandshakeMessages & Botan::TLS::Channel_Impl_13::AggregatedHandshakeMessages::add | ( | Handshake_Message_13_Ref | message | ) |
Adds a single handshake message to the send buffer. Note that this updates the handshake transcript hash regardless of sending the message.
Definition at line 228 of file tls_channel_impl_13.cpp.
References Botan::TLS::Channel_Impl_13::m_transcript_hash, and Botan::TLS::Handshake_Layer::prepare_message().
Referenced by Botan::TLS::Channel_Impl_13::send_handshake_message().
|
inlineinherited |
Definition at line 78 of file tls_channel_impl_13.h.
References Botan::TLS::Channel_Impl_13::AggregatedMessages::m_message_buffer.
|
inherited |
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().
|
protectedinherited |
Definition at line 83 of file tls_channel_impl_13.h.
|
protectedinherited |
Definition at line 84 of file tls_channel_impl_13.h.
|
protectedinherited |
Definition at line 81 of file tls_channel_impl_13.h.
Referenced by Botan::TLS::Channel_Impl_13::AggregatedMessages::contains_messages().