Implements a octet stream transport that manages a stream socket with encrypted communication over TLS.
More...
#include <transport.hpp>
Inherits caf::net::octet_stream::transport.
|
| static std::unique_ptr< transport > | make (connection conn, upper_layer_ptr up) |
| | Creates a new instance of the SSL transport for a socket that has already performed the SSL handshake.
|
| |
| static worker_ptr | make_server (connection conn, upper_layer_ptr up) |
| | Returns a worker that performs the OpenSSL server handshake on the socket.
|
| |
| static worker_ptr | make_client (connection conn, upper_layer_ptr up) |
| | Returns a worker that performs the OpenSSL client handshake on the socket.
|
| |
Implements a octet stream transport that manages a stream socket with encrypted communication over TLS.
◆ make()
| static std::unique_ptr< transport > caf::net::ssl::transport::make |
( |
connection |
conn, |
|
|
upper_layer_ptr |
up |
|
) |
| |
|
static |
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()
| static worker_ptr caf::net::ssl::transport::make_client |
( |
connection |
conn, |
|
|
upper_layer_ptr |
up |
|
) |
| |
|
static |
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()
| static worker_ptr caf::net::ssl::transport::make_server |
( |
connection |
conn, |
|
|
upper_layer_ptr |
up |
|
) |
| |
|
static |
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 file:
- libcaf_net/caf/net/ssl/transport.hpp