Botan  2.7.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 104 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 107 of file tls_record.h.

108  : 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 109 of file tls_record.h.

110  : m_type(type), m_sequence(sequence), m_data(data),
111  m_size(size) {}
MechanismType type

Member Function Documentation

◆ get_data()

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

Definition at line 115 of file tls_record.h.

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

115 { return m_data; }

◆ get_sequence()

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

Definition at line 114 of file tls_record.h.

114 { return m_sequence; }

◆ get_size()

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

Definition at line 116 of file tls_record.h.

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

116 { return m_size; }

◆ get_type()

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

Definition at line 113 of file tls_record.h.

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

113 { return m_type; }

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