Botan

TLS Server Information

License
Botan is released under the Simplified BSD License (see LICENSE.md)

Represents information known about a TLS server.


this(in string hostname, ushort port = 0);

Parameters
string hostname the host's DNS name, if known
ushort port specifies the protocol port of the server (eg for TCP/UDP). Zero represents unknown.

this(in string hostname, in string service, ushort port = 0);

Parameters
string hostname the host's DNS name, if known
string service is a text string of the service type (eg "https", "tor", or "git")
ushort port specifies the protocol port of the server (eg for TCP/UDP). Zero represents unknown.