Botan 3.9.0
Crypto and TLS for C&
|
#include <tls_server_info.h>
Public Member Functions | |
bool | empty () const |
std::string | hostname () const |
uint16_t | port () const |
Server_Information ()=default | |
Server_Information (std::string_view hostname, std::string_view service, uint16_t port=0) | |
BOTAN_FUTURE_EXPLICIT | Server_Information (std::string_view hostname, uint16_t port=0) |
std::string | service () const |
Represents information known about a TLS server.
Definition at line 19 of file tls_server_info.h.
|
default |
An empty server info - nothing known
|
inline |
hostname | the host's DNS name, if known |
port | specifies the protocol port of the server (eg for TCP/UDP). Zero represents unknown. |
Definition at line 31 of file tls_server_info.h.
References BOTAN_FUTURE_EXPLICIT, hostname(), and port().
|
inline |
hostname | the host's DNS name, if known |
service | is a text string of the service type (eg "https", "tor", or "git") |
port | specifies the protocol port of the server (eg for TCP/UDP). Zero represents unknown. |
Definition at line 41 of file tls_server_info.h.
References hostname(), port(), and service().
|
inline |
Definition at line 63 of file tls_server_info.h.
|
inline |
Definition at line 47 of file tls_server_info.h.
Referenced by Botan::TLS::Client_Hello_12::Client_Hello_12(), Botan::TLS::Session_Manager_SQL::find_some(), Botan::TLS::operator<(), Botan::TLS::operator==(), Server_Information(), Server_Information(), and Botan::TLS::Session_Manager_SQL::store().
|
inline |
Definition at line 58 of file tls_server_info.h.
Referenced by Botan::TLS::Session_Manager_SQL::find_some(), Botan::TLS::operator<(), Botan::TLS::operator==(), Server_Information(), Server_Information(), and Botan::TLS::Session_Manager_SQL::store().
|
inline |
Definition at line 53 of file tls_server_info.h.
Referenced by Botan::TLS::operator<(), Botan::TLS::operator==(), and Server_Information().