Botan 3.6.1
Crypto and TLS for C&
Botan::TLS::Server_Hello_12::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 Session_IDsession_id () const
 
 Settings (Session_ID new_session_id, Protocol_Version new_session_version, uint16_t ciphersuite, bool offer_session_ticket)
 

Detailed Description

Definition at line 309 of file tls_messages.h.

Constructor & Destructor Documentation

◆ Settings()

Botan::TLS::Server_Hello_12::Settings::Settings ( Session_ID new_session_id,
Protocol_Version new_session_version,
uint16_t ciphersuite,
bool offer_session_ticket )
inline

Definition at line 311 of file tls_messages.h.

314 :
315 m_new_session_id(std::move(new_session_id)),
316 m_new_session_version(new_session_version),
317 m_ciphersuite(ciphersuite),
318 m_offer_session_ticket(offer_session_ticket) {}

Member Function Documentation

◆ ciphersuite()

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

Definition at line 324 of file tls_messages.h.

324{ return m_ciphersuite; }

◆ offer_session_ticket()

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

Definition at line 326 of file tls_messages.h.

326{ return m_offer_session_ticket; }

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

◆ protocol_version()

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

Definition at line 322 of file tls_messages.h.

322{ return m_new_session_version; }

◆ session_id()

const Session_ID & Botan::TLS::Server_Hello_12::Settings::session_id ( ) const
inline

Definition at line 320 of file tls_messages.h.

320{ return m_new_session_id; }

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