Botan 3.0.0
Crypto and TLS for C&
Public Member Functions | List of all members
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 315 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 318 of file tls_messages.h.

321 :
322 m_new_session_id(std::move(new_session_id)),
323 m_new_session_version(new_session_version),
324 m_ciphersuite(ciphersuite),
325 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 329 of file tls_messages.h.

329{ return m_ciphersuite; }

◆ offer_session_ticket()

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

Definition at line 330 of file tls_messages.h.

330{ 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 328 of file tls_messages.h.

328{ return m_new_session_version; }

◆ session_id()

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

Definition at line 327 of file tls_messages.h.

327{ return m_new_session_id; }

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