The peer identity and negotiated-parameter summary exposed by the TLS socket wrapper. More...
#include <tlssocket.h>
Data Fields | |
| char | subject [QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
| char | issuer [QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
| char | common_name [QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
| char | dns_name [QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
| qsc_tls_socket_result | result |
| qsc_tls_cipher_suite | cipher_suite |
| qsc_tls_named_group | named_group |
| qsc_tls_signature_scheme | signature_scheme |
| qsc_x509w_status | x509_status |
| qsc_x509_verify_status | verify_status |
| bool | authenticated |
| bool | hostname_matched |
| bool | hostname_checked |
| bool | chain_valid |
| bool | psk_accepted |
| bool | early_data_accepted |
| bool | alpn_selected |
| char | selected_alpn [QSC_TLS_SOCKET_ALPN_SIZE_MAX+1U] |
The peer identity and negotiated-parameter summary exposed by the TLS socket wrapper.
The negotiated cipher suite, named group, signature scheme, PSK state, and early-data state are populated from the TLS connection state. The subject, issuer, common-name, and DNS-name fields are copied from the bounded peer certificate summary retained by the built-in X.509 bridge. The result field mirrors the last wrapper, TLS, socket, X.509, verification, and alert status values associated with the connection.
| bool alpn_selected |
Indicates whether ALPN selected a mutually supported application protocol.
| bool authenticated |
Indicates whether the peer was authenticated.
| bool chain_valid |
Indicates whether the peer certificate chain validated.
| qsc_tls_cipher_suite cipher_suite |
The negotiated TLS cipher suite.
| char common_name[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The peer certificate common name, when available.
| char dns_name[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The matched peer DNS name, when available.
| bool early_data_accepted |
Indicates whether early data was accepted.
| bool hostname_checked |
Indicates whether hostname verification was requested.
| bool hostname_matched |
Indicates whether hostname verification succeeded.
| char issuer[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The peer certificate issuer string, when available.
| qsc_tls_named_group named_group |
The negotiated TLS named group.
| bool psk_accepted |
Indicates whether PSK resumption was accepted.
| qsc_tls_socket_result result |
The last structured wrapper, TLS, socket, X.509, verification, and alert result.
| char selected_alpn[QSC_TLS_SOCKET_ALPN_SIZE_MAX+1U] |
The selected ALPN protocol as a null-terminated string when selected.
| qsc_tls_signature_scheme signature_scheme |
The negotiated TLS signature scheme.
| char subject[QSC_X509_NAME_ATTRIBUTE_STRING_MAX] |
The peer certificate subject string, when available.
| qsc_x509_verify_status verify_status |
The X.509 verification status for the peer certificate.
| qsc_x509w_status x509_status |
The X.509 wrapper status for the peer certificate operation.