Server handshake state container. More...
#include <tlsserver.h>
Data Fields | |
| qsc_tls_server_config | config |
| qsc_tls_server_state_phase | phase |
| qsc_tls_cipher_suite | negotiatedsuite |
| qsc_tls_hash_algorithm | negotiatedhash |
| qsc_tls_named_group | negotiatedgroup |
| qsc_tls_signature_scheme | negotiatedsigscheme |
| uint8_t | clientrandom [32U] |
| uint8_t | serverrandom [32U] |
| uint8_t | serverkeyshare [QSC_TLS_MAX_HYBRID_SERVER_KEYSHARE_SIZE] |
| size_t | serverkeysharelen |
| uint8_t | sharedsecret [QSC_TLS_MAX_SHARED_SECRET_SIZE] |
| size_t | sharedsecretlen |
| qsc_tls_transcript_state | transcript |
| qsc_tls_key_schedule_state | keyschedule |
| qsc_tls_record_state | readrecord |
| qsc_tls_record_state | writerecord |
| qsc_tls_peer_capabilities | clientcapabilities |
| qsc_tls_alert_description | lastalert |
| char | servername [QSC_TLS_MAX_HOSTNAME_SIZE+1U] |
| size_t | servernamelen |
| bool | servernamereceived |
| bool | servernameaccepted |
| uint8_t | clientalpn [QSC_TLS_MAX_ALPN_PROTOCOLS][QSC_TLS_MAX_ALPN_SIZE] |
| size_t | clientalpnlens [QSC_TLS_MAX_ALPN_PROTOCOLS] |
| size_t | clientalpncount |
| uint8_t | selectedalpn [QSC_TLS_MAX_ALPN_SIZE] |
| size_t | selectedalpnlen |
| bool | alpnselected |
| bool | helloretryrequestsent |
| qsc_tls_named_group | hrrgroup |
| bool | clientauthenticated |
| bool | changecipherspecreceived |
| bool | pskaccepted |
| uint16_t | selectedpskidentity |
| bool | earlydataaccepted |
| bool | earlydatadone |
| uint8_t | stashedserverfinhash [QSC_TLS_HASH_MAX_SIZE] |
| size_t | stashedserverfinhashlen |
| uint8_t | legacy_session_id [32U] |
| size_t | legacy_session_id_len |
Server handshake state container.
| bool earlydataaccepted |
True if we signaled acceptance of early_data.
| bool earlydatadone |
True after EndOfEarlyData received; switch read key to handshake.
| qsc_tls_named_group hrrgroup |
Group selected for HRR, valid when helloretryrequestsent==true.
| bool pskaccepted |
True if we accepted a client PSK (resumption handshake).
| uint16_t selectedpskidentity |
Index of accepted PSK identity in client's offer list.
| char servername[QSC_TLS_MAX_HOSTNAME_SIZE+1U] |
The bounded ClientHello SNI hostname, when supplied.
| bool servernameaccepted |
Indicates that SNI matched a configured certificate identity.
| size_t servernamelen |
The length in bytes of the stored SNI hostname.
| bool servernamereceived |
Indicates that a server_name extension was received.
| uint8_t stashedserverfinhash[QSC_TLS_HASH_MAX_SIZE] |
CH..server_Finished transcript hash; set on 0-RTT accept for app-key derivation.