9#ifndef BOTAN_TLS_TRANSCRIPT_HASH_13_H_
10#define BOTAN_TLS_TRANSCRIPT_HASH_13_H_
12#include <botan/tls_magic.h>
13#include <botan/internal/tls_types_13.h>
98 std::unique_ptr<HashFunction> m_hash;
102 std::vector<std::pair<HandshakeProtocolHeader, SerializedHandshakeMessage>> m_unprocessed_transcript;
const Transcript_Hash & current() const
void update(HandshakeProtocolHeader tls_message_header, StrongSpan< const SerializedHandshakeMessage > serialized_message)
Transcript_Hash_State & operator=(Transcript_Hash_State &&other) noexcept
Transcript_Hash_State clone() const
static Transcript_Hash_State recreate_after_hello_retry_request(std::string_view algo_spec, const Transcript_Hash_State &prev_transcript_hash_state)
void set_algorithm(std::string_view algo_spec)
const Transcript_Hash & previous() const
Transcript_Hash_State(Transcript_Hash_State &&other) noexcept
const Transcript_Hash & truncated() const
Transcript_Hash_State(TLS_Flavor flavor)
Transcript_Hash_State & operator=(const Transcript_Hash_State &)=delete
std::vector< uint8_t > Transcript_Hash
Strong< std::array< uint8_t, 4 >, struct HandshakeProtocolHeader_ > HandshakeProtocolHeader
Holds the serialization of a TLS 1.3 handshake protocol header.