Botan  2.7.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::TLS::Record Class Referencefinal

#include <tls_record.h>

Public Member Functions

secure_vector< uint8_t > & get_data ()
 
Protocol_Versionget_protocol_version ()
 
uint64_t * get_sequence ()
 
size_t & get_size ()
 
Record_Typeget_type ()
 
 Record (secure_vector< uint8_t > &data, uint64_t *sequence, Protocol_Version *protocol_version, Record_Type *type)
 

Detailed Description

Definition at line 76 of file tls_record.h.

Constructor & Destructor Documentation

◆ Record()

Botan::TLS::Record::Record ( secure_vector< uint8_t > &  data,
uint64_t *  sequence,
Protocol_Version protocol_version,
Record_Type type 
)
inline

Definition at line 79 of file tls_record.h.

83  : m_data(data), m_sequence(sequence), m_protocol_version(protocol_version),
84  m_type(type), m_size(data.size()) {}
MechanismType type

Member Function Documentation

◆ get_data()

secure_vector<uint8_t>& Botan::TLS::Record::get_data ( )
inline

Definition at line 86 of file tls_record.h.

86 { return m_data; }

◆ get_protocol_version()

Protocol_Version* Botan::TLS::Record::get_protocol_version ( )
inline

Definition at line 88 of file tls_record.h.

88 { return m_protocol_version; }

◆ get_sequence()

uint64_t* Botan::TLS::Record::get_sequence ( )
inline

Definition at line 90 of file tls_record.h.

90 { return m_sequence; }

◆ get_size()

size_t& Botan::TLS::Record::get_size ( )
inline

Definition at line 94 of file tls_record.h.

94 { return m_size; }

◆ get_type()

Record_Type* Botan::TLS::Record::get_type ( )
inline

Definition at line 92 of file tls_record.h.

92 { return m_type; }

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