A live TLS socket connection containing the socket, TLS engine, I/O adapter, and connection state. More...
#include <tlssocket.h>
A live TLS socket connection containing the socket, TLS engine, I/O adapter, and connection state.
| bool cancelrequested |
Indicates that cancellation has been requested.
| bool connected |
Indicates that the underlying socket is connected.
| qsc_tls_connection engine |
The TLS engine instance for this connection.
| qsc_socket_address_families family |
The socket address family.
| bool handshaked |
Indicates that the TLS handshake completed.
| bool haslastticket |
Indicates that lastticket contains a valid ticket.
The TLS I/O adapter bound to the engine and socket.
| qsc_tls_socket_result lastresult |
The last structured result produced by this connection.
| qsc_tls_session_ticket lastticket |
The last session ticket observed or emitted by this connection.
| qsc_tls_socket_log_callback logcallback |
The connection-level structured logging callback.
| void* logstate |
The connection-level logging callback state.
| bool owns_socket |
Indicates that the connection owns and must close the socket.
| qsc_tls_socket_peer_info peerinfo |
The retained peer identity and negotiated-parameter summary.
| char peername[QSC_SOCKET_ADDRESS_MAX_SIZE] |
The peer hostname or textual address.
| uint16_t peerport |
The peer port number.
| qsc_tls_role role |
The TLS role, client or server.
| qsc_tls_signer_default_context signcontext |
The default TLS signing context used by server CertificateVerify.
| qsc_socket socket |
The connected or accepted socket owned by the connection.
| qsc_tls_socket_options socketoptions |
The active socket options for this connection.
| qsc_tls_socket_ticket_policy ticketpolicy |
The active session ticket policy for this connection.