Botan  2.6.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::TLS::Server_Hello::Settings Class Referencefinal

#include <tls_messages.h>

Public Member Functions

uint16_t ciphersuite () const
 
bool offer_session_ticket () const
 
Protocol_Version protocol_version () const
 
const std::vector< uint8_t > & session_id () const
 
 Settings (const std::vector< uint8_t > new_session_id, Protocol_Version new_session_version, uint16_t ciphersuite, bool offer_session_ticket)
 

Detailed Description

Definition at line 189 of file tls_messages.h.

Constructor & Destructor Documentation

◆ Settings()

Botan::TLS::Server_Hello::Settings::Settings ( const std::vector< uint8_t >  new_session_id,
Protocol_Version  new_session_version,
uint16_t  ciphersuite,
bool  offer_session_ticket 
)
inline

Definition at line 192 of file tls_messages.h.

195  :
196  m_new_session_id(new_session_id),
197  m_new_session_version(new_session_version),
198  m_ciphersuite(ciphersuite),
199  m_offer_session_ticket(offer_session_ticket) {}

Member Function Documentation

◆ ciphersuite()

uint16_t Botan::TLS::Server_Hello::Settings::ciphersuite ( ) const
inline

Definition at line 203 of file tls_messages.h.

203 { return m_ciphersuite; }

◆ offer_session_ticket()

bool Botan::TLS::Server_Hello::Settings::offer_session_ticket ( ) const
inline

Definition at line 204 of file tls_messages.h.

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

204 { return m_offer_session_ticket; }

◆ protocol_version()

Protocol_Version Botan::TLS::Server_Hello::Settings::protocol_version ( ) const
inline

Definition at line 202 of file tls_messages.h.

202 { return m_new_session_version; }

◆ session_id()

const std::vector<uint8_t>& Botan::TLS::Server_Hello::Settings::session_id ( ) const
inline

Definition at line 201 of file tls_messages.h.

201 { return m_new_session_id; }

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