Botan 3.6.1
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 () | |
Server_Information (std::string_view hostname, std::string_view service, uint16_t port=0) | |
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.
|
inline |
An empty server info - nothing known
Definition at line 24 of file tls_server_info.h.
|
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.
|
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.
|
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::Client_Impl_13::Client_Impl_13(), Botan::TLS::Session::DER_encode(), Botan::TLS::Session_Manager_SQL::find_some(), Botan::TLS::operator<(), Botan::TLS::operator==(), and Botan::TLS::Session_Manager_SQL::store().
|
inline |
Definition at line 58 of file tls_server_info.h.
Referenced by Botan::TLS::Session::DER_encode(), Botan::TLS::Session_Manager_SQL::find_some(), Botan::TLS::operator<(), Botan::TLS::operator==(), and Botan::TLS::Session_Manager_SQL::store().
|
inline |
Definition at line 53 of file tls_server_info.h.
Referenced by Botan::TLS::Session::DER_encode(), Botan::TLS::operator<(), and Botan::TLS::operator==().