Botan 3.4.0
Crypto and TLS for C&
Public Member Functions | Public Attributes | List of all members
Botan::TLS::Record Struct Reference

#include <tls_record_layer_13.h>

Public Member Functions

 Record (Record_Type record_type, secure_vector< uint8_t > frgmnt)
 

Public Attributes

secure_vector< uint8_t > fragment
 
std::optional< uint64_t > seq_no
 
Record_Type type
 

Detailed Description

Resembles the TLSPlaintext structure in RFC 8446 5.1 minus the record protocol specifics and ossified bytes.

Definition at line 27 of file tls_record_layer_13.h.

Constructor & Destructor Documentation

◆ Record()

Botan::TLS::Record::Record ( Record_Type record_type,
secure_vector< uint8_t > frgmnt )
inline

Definition at line 32 of file tls_record_layer_13.h.

32 :
33 type(record_type), fragment(std::move(frgmnt)), seq_no(std::nullopt) {}
std::optional< uint64_t > seq_no
secure_vector< uint8_t > fragment

Member Data Documentation

◆ fragment

secure_vector<uint8_t> Botan::TLS::Record::fragment

Definition at line 29 of file tls_record_layer_13.h.

Referenced by Botan::TLS::Record_Layer::next_record().

◆ seq_no

std::optional<uint64_t> Botan::TLS::Record::seq_no

Definition at line 30 of file tls_record_layer_13.h.

Referenced by Botan::TLS::Record_Layer::next_record().

◆ type

Record_Type Botan::TLS::Record::type

Definition at line 28 of file tls_record_layer_13.h.

Referenced by Botan::TLS::Record_Layer::next_record().


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