Botan 3.11.0
Crypto and TLS for C&
Botan::TLS::Server_Hello_12::Settings Class Referencefinal

#include <tls_messages_12.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 91 of file tls_messages_12.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 93 of file tls_messages_12.h.

96 :
97 m_new_session_id(std::move(new_session_id)),
98 m_new_session_version(new_session_version),
99 m_ciphersuite(ciphersuite),
100 m_offer_session_ticket(offer_session_ticket) {}

References ciphersuite(), and offer_session_ticket().

Member Function Documentation

◆ ciphersuite()

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

Definition at line 106 of file tls_messages_12.h.

106{ return m_ciphersuite; }

Referenced by Settings().

◆ offer_session_ticket()

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

Definition at line 108 of file tls_messages_12.h.

108{ return m_offer_session_ticket; }

Referenced by Botan::TLS::Server_Hello_12::Server_Hello_12(), and Settings().

◆ protocol_version()

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

Definition at line 104 of file tls_messages_12.h.

104{ return m_new_session_version; }

◆ session_id()

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

Definition at line 102 of file tls_messages_12.h.

102{ return m_new_session_id; }

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