Botan 2.19.3
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 (const std::string &hostname, const std::string &service, uint16_t port=0) | |
Server_Information (const std::string &hostname, uint16_t port=0) | |
std::string | service () const |
Represents information known about a TLS server.
Definition at line 21 of file tls_server_info.h.
|
inline |
An empty server info - nothing known
Definition at line 27 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 34 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 45 of file tls_server_info.h.
|
inline |
Definition at line 69 of file tls_server_info.h.
Referenced by Botan::TLS::Session_Manager_In_Memory::save().
|
inline |
Definition at line 53 of file tls_server_info.h.
Referenced by Botan::TLS::Client_Hello::Client_Hello(), Botan::TLS::Session::DER_encode(), Botan::TLS::Session_Manager_SQL::load_from_server_info(), Botan::TLS::operator<(), Botan::TLS::operator==(), and Botan::TLS::Session_Manager_SQL::save().
|
inline |
Definition at line 64 of file tls_server_info.h.
Referenced by Botan::TLS::Session::DER_encode(), Botan::TLS::Session_Manager_SQL::load_from_server_info(), Botan::TLS::operator<(), Botan::TLS::operator==(), and Botan::TLS::Session_Manager_SQL::save().
|
inline |
Definition at line 59 of file tls_server_info.h.
Referenced by Botan::TLS::Session::DER_encode(), Botan::TLS::operator<(), and Botan::TLS::operator==().