|
xale-db 1.0
minimal SQL engine, written in c++
|
SSL/TLS client connection (Linux). More...
#include <LinuxSSLClientConnection.h>


Public Member Functions | |
| LinuxSSLClientConnection (int fd, SSL *ssl) | |
| Construct from an accepted fd and its SSL object. | |
| ~LinuxSSLClientConnection () override | |
| Shuts down SSL and closes the socket. | |
| int | read (std::vector< uint8_t > &buffer, size_t size) override |
| Read data through SSL. | |
| int | respond (const std::vector< uint8_t > *data, size_t size) override |
| Send data through SSL. | |
| void | close () override |
| Shutdown SSL and close the socket. | |
| Public Member Functions inherited from Xale::Net::IClientConnection | |
| virtual | ~IClientConnection ()=default |
SSL/TLS client connection (Linux).
Takes ownership of the SSL* but NOT of the SSL_CTX* which stays in the listener socket.
| Xale::Net::LinuxSSLClientConnection::LinuxSSLClientConnection | ( | int | fd, |
| SSL * | ssl ) |
Construct from an accepted fd and its SSL object.
| fd | Accepted client socket fd |
| ssl | SSL object already handshaked for this connection |
|
override |
Shuts down SSL and closes the socket.
|
overridevirtual |
Shutdown SSL and close the socket.
Implements Xale::Net::IClientConnection.
|
overridevirtual |
Read data through SSL.
Implements Xale::Net::IClientConnection.
|
overridevirtual |
Send data through SSL.
Implements Xale::Net::IClientConnection.