Botan 3.0.0
Crypto and TLS for C&
Public Member Functions | List of all members
Botan::TLS::Client_Hello_12::Settings Class Referencefinal

#include <tls_messages.h>

Public Member Functions

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

Detailed Description

Definition at line 153 of file tls_messages.h.

Constructor & Destructor Documentation

◆ Settings()

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

Definition at line 156 of file tls_messages.h.

157 :
158 m_new_session_version(version),
159 m_hostname(hostname) {}
const std::string hostname() const
Definition: tls_messages.h:162

Member Function Documentation

◆ hostname()

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

Definition at line 162 of file tls_messages.h.

162{ return m_hostname; }

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

◆ protocol_version()

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

Definition at line 161 of file tls_messages.h.

161{ 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: