Botan 3.14.1
Crypto and TLS for C&
Botan::TLS::Cipher_State::Epoch Struct Reference

#include <tls_cipher_state.h>

Public Attributes

std::unique_ptr< AEAD_Mode > cipher
std::optional< secure_vector< uint8_t > > finished_key
secure_vector< uint8_t > iv
uint64_t sequence_number
secure_vector< uint8_t > traffic_secret

Detailed Description

The cryptographic state required to protect or deprotect records in one direction. Concrete subclasses manage the available epochs, e.g. a single current epoch per direction for TLS 1.3.

Definition at line 85 of file tls_cipher_state.h.

Member Data Documentation

◆ cipher

◆ finished_key

std::optional<secure_vector<uint8_t> > Botan::TLS::Cipher_State::Epoch::finished_key

only relevant in the handshake traffic epoch to calculate and verify the handshake's Finished MACs

Definition at line 94 of file tls_cipher_state.h.

◆ iv

secure_vector<uint8_t> Botan::TLS::Cipher_State::Epoch::iv

◆ sequence_number

◆ traffic_secret

secure_vector<uint8_t> Botan::TLS::Cipher_State::Epoch::traffic_secret

Definition at line 90 of file tls_cipher_state.h.


The documentation for this struct was generated from the following file: