QSC Post Quantum Cryptographic Library 1.3.0.0 (C1)
A post quantum secure library written in Ansi C
Loading...
Searching...
No Matches
qsc_tls_socket_connection Struct Reference

A live TLS socket connection containing the socket, TLS engine, I/O adapter, and connection state. More...

#include <tlssocket.h>

Data Fields

qsc_socket socket
qsc_tls_connection engine
qsc_tls_io_connection io
qsc_tls_role role
qsc_socket_address_families family
qsc_tls_socket_result lastresult
qsc_tls_socket_peer_info peerinfo
qsc_tls_socket_options socketoptions
qsc_tls_socket_ticket_policy ticketpolicy
qsc_tls_session_ticket lastticket
qsc_tls_signer_default_context signcontext
qsc_tls_socket_log_callback logcallback
void * logstate
char peername [QSC_SOCKET_ADDRESS_MAX_SIZE]
uint16_t peerport
bool connected
bool handshaked
bool owns_socket
bool haslastticket
bool cancelrequested

Detailed Description

A live TLS socket connection containing the socket, TLS engine, I/O adapter, and connection state.

Field Documentation

◆ cancelrequested

bool cancelrequested

Indicates that cancellation has been requested.

◆ connected

bool connected

Indicates that the underlying socket is connected.

◆ engine

The TLS engine instance for this connection.

◆ family

The socket address family.

◆ handshaked

bool handshaked

Indicates that the TLS handshake completed.

◆ haslastticket

bool haslastticket

Indicates that lastticket contains a valid ticket.

◆ io

The TLS I/O adapter bound to the engine and socket.

◆ lastresult

The last structured result produced by this connection.

◆ lastticket

The last session ticket observed or emitted by this connection.

◆ logcallback

The connection-level structured logging callback.

◆ logstate

void* logstate

The connection-level logging callback state.

◆ owns_socket

bool owns_socket

Indicates that the connection owns and must close the socket.

◆ peerinfo

The retained peer identity and negotiated-parameter summary.

◆ peername

The peer hostname or textual address.

◆ peerport

uint16_t peerport

The peer port number.

◆ role

The TLS role, client or server.

◆ signcontext

The default TLS signing context used by server CertificateVerify.

◆ socket

qsc_socket socket

The connected or accepted socket owned by the connection.

◆ socketoptions

qsc_tls_socket_options socketoptions

The active socket options for this connection.

◆ ticketpolicy

The active session ticket policy for this connection.


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/QSC/QSC/tlssocket.h