|
join 1.0
lightweight network framework library
|
TLS protocol class (TLS over TCP). More...
#include <tls_protocol.hpp>
Public Types | |
| using | Transport = Tcp |
| using | Endpoint = typename Transport::Endpoint |
| using | Socket = BasicTlsWrapper<Tls> |
| using | Stream = BasicTlsStream<Tls> |
Public Member Functions | |
| constexpr | Tls (int family=AF_INET) noexcept |
| create the tls protocol instance. | |
| constexpr int | family () const noexcept |
| get the protocol IP address family. | |
Static Public Member Functions | |
| static Tls & | v4 () noexcept |
| get protocol suitable for IPv4 address family. | |
| static Tls & | v6 () noexcept |
| get protocol suitable for IPv6 address family. | |
TLS protocol class (TLS over TCP).
| using join::Tls::Endpoint = typename Transport::Endpoint |
| using join::Tls::Socket = BasicTlsWrapper<Tls> |
| using join::Tls::Stream = BasicTlsStream<Tls> |
| using join::Tls::Transport = Tcp |
|
inlineexplicitconstexprnoexcept |
create the tls protocol instance.
| family | IP address family. |
|
inlineconstexprnoexcept |
get the protocol IP address family.
|
inlinestaticnoexcept |
get protocol suitable for IPv4 address family.
|
inlinestaticnoexcept |
get protocol suitable for IPv6 address family.