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

#include <tls_messages_12.h>

Public Member Functions

const std::string & hostname () const
Protocol_Version protocol_version () const
 Settings (const Protocol_Version version, std::string_view hostname="")

Detailed Description

Definition at line 23 of file tls_messages_12.h.

Constructor & Destructor Documentation

◆ Settings()

Botan::TLS::Client_Hello_12::Settings::Settings ( const Protocol_Version version,
std::string_view hostname = "" )
inlineexplicit

Definition at line 25 of file tls_messages_12.h.

25 :
26 m_new_session_version(version), m_hostname(hostname) {}
const std::string & hostname() const

References hostname().

Member Function Documentation

◆ hostname()

const std::string & Botan::TLS::Client_Hello_12::Settings::hostname ( ) const
inline

Definition at line 30 of file tls_messages_12.h.

30{ return m_hostname; }

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

◆ protocol_version()

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

Definition at line 28 of file tls_messages_12.h.

28{ return m_new_session_version; }

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


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