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

#include <tls_record.h>

Public Member Functions

const uint8_t * get_data ()
 
uint64_t & get_sequence ()
 
size_t & get_size ()
 
uint8_t & get_type ()
 
 Record_Message (const uint8_t *data, size_t size)
 
 Record_Message (uint8_t type, uint64_t sequence, const uint8_t *data, size_t size)
 

Detailed Description

Definition at line 108 of file tls_record.h.

Constructor & Destructor Documentation

◆ Record_Message() [1/2]

Botan::TLS::Record_Message::Record_Message ( const uint8_t *  data,
size_t  size 
)
inline

Definition at line 111 of file tls_record.h.

112  : m_type(0), m_sequence(0), m_data(data), m_size(size) {}

◆ Record_Message() [2/2]

Botan::TLS::Record_Message::Record_Message ( uint8_t  type,
uint64_t  sequence,
const uint8_t *  data,
size_t  size 
)
inline

Definition at line 113 of file tls_record.h.

114  : m_type(type), m_sequence(sequence), m_data(data),
115  m_size(size) {}
MechanismType type

Member Function Documentation

◆ get_data()

const uint8_t* Botan::TLS::Record_Message::get_data ( )
inline

Definition at line 119 of file tls_record.h.

119 { return m_data; }

Referenced by Botan::TLS::write_record().

◆ get_sequence()

uint64_t& Botan::TLS::Record_Message::get_sequence ( )
inline

Definition at line 118 of file tls_record.h.

118 { return m_sequence; }

◆ get_size()

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

Definition at line 120 of file tls_record.h.

120 { return m_size; }

Referenced by Botan::TLS::write_record().

◆ get_type()

uint8_t& Botan::TLS::Record_Message::get_type ( )
inline

Definition at line 117 of file tls_record.h.

117 { return m_type; }

Referenced by Botan::TLS::write_record().


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