Implements a octet stream transport that manages a stream socket with encrypted communication over TLS.
More...
#include <transport.hpp>
Implements a octet stream transport that manages a stream socket with encrypted communication over TLS.
◆ make()
Creates a new instance of the SSL transport for a socket that has already performed the SSL handshake.
- Parameters
-
conn | The connection object for managing fd . |
up | The layer operating on top of this transport. |
◆ make_client()
Returns a worker that performs the OpenSSL client handshake on the socket.
On success, the worker performs a handover to an openssl_transport
that runs up
.
- Parameters
-
conn | The connection object for managing fd . |
up | The layer operating on top of this transport. |
◆ make_server()
Returns a worker that performs the OpenSSL server handshake on the socket.
On success, the worker performs a handover to an openssl_transport
that runs up
.
- Parameters
-
conn | The connection object for managing fd . |
up | The layer operating on top of this transport. |
The documentation for this class was generated from the following files:
- libcaf_net/caf/net/ssl/transport.hpp
- libcaf_net/caf/net/ssl/transport.cpp