TlsSessionState Struct Reference

TLS session state. More...

#include <tls.h>

Data Fields

uint16_t version
 TLS protocol version. More...
 
uint16_t cipherSuite
 Cipher suite identifier. More...
 
systime_t timestamp
 Time stamp to manage entry lifetime. More...
 
uint8_t secret [TLS_MASTER_SECRET_SIZE]
 Master secret (TLS 1.2) or ticket PSK (TLS 1.3) More...
 
uint8_t sessionId [32]
 Session identifier. More...
 
size_t sessionIdLen
 Length of the session identifier. More...
 
bool_t extendedMasterSecret
 Extended master secret computation. More...
 
uint8_t * ticket
 Session ticket. More...
 
size_t ticketLen
 Length of the session ticket. More...
 
systime_t ticketTimestamp
 Timestamp to manage ticket lifetime. More...
 
uint32_t ticketLifetime
 Lifetime of the ticket. More...
 
uint32_t ticketAgeAdd
 Random value used to obscure the age of the ticket. More...
 
TlsHashAlgo ticketHashAlgo
 Hash algorithm associated with the ticket. More...
 
char_tticketAlpn
 ALPN protocol associated with the ticket. More...
 
uint32_t maxEarlyDataSize
 Maximum amount of 0-RTT data that the client is allowed to send. More...
 
char_tserverName
 ServerName extension. More...
 

Detailed Description

TLS session state.

Definition at line 2037 of file tls.h.

Field Documentation

◆ cipherSuite

uint16_t cipherSuite

Cipher suite identifier.

Definition at line 2040 of file tls.h.

◆ extendedMasterSecret

bool_t extendedMasterSecret

Extended master secret computation.

Definition at line 2046 of file tls.h.

◆ maxEarlyDataSize

uint32_t maxEarlyDataSize

Maximum amount of 0-RTT data that the client is allowed to send.

Definition at line 2056 of file tls.h.

◆ secret

uint8_t secret[TLS_MASTER_SECRET_SIZE]

Master secret (TLS 1.2) or ticket PSK (TLS 1.3)

Definition at line 2042 of file tls.h.

◆ serverName

char_t* serverName

ServerName extension.

Definition at line 2059 of file tls.h.

◆ sessionId

uint8_t sessionId[32]

Session identifier.

Definition at line 2044 of file tls.h.

◆ sessionIdLen

size_t sessionIdLen

Length of the session identifier.

Definition at line 2045 of file tls.h.

◆ ticket

uint8_t* ticket

Session ticket.

Definition at line 2048 of file tls.h.

◆ ticketAgeAdd

uint32_t ticketAgeAdd

Random value used to obscure the age of the ticket.

Definition at line 2053 of file tls.h.

◆ ticketAlpn

char_t* ticketAlpn

ALPN protocol associated with the ticket.

Definition at line 2055 of file tls.h.

◆ ticketHashAlgo

TlsHashAlgo ticketHashAlgo

Hash algorithm associated with the ticket.

Definition at line 2054 of file tls.h.

◆ ticketLen

size_t ticketLen

Length of the session ticket.

Definition at line 2049 of file tls.h.

◆ ticketLifetime

uint32_t ticketLifetime

Lifetime of the ticket.

Definition at line 2052 of file tls.h.

◆ ticketTimestamp

systime_t ticketTimestamp

Timestamp to manage ticket lifetime.

Definition at line 2051 of file tls.h.

◆ timestamp

systime_t timestamp

Time stamp to manage entry lifetime.

Definition at line 2041 of file tls.h.

◆ version

uint16_t version

TLS protocol version.

Definition at line 2039 of file tls.h.


The documentation for this struct was generated from the following file: