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 [48]
 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 1942 of file tls.h.

Field Documentation

◆ cipherSuite

uint16_t cipherSuite

Cipher suite identifier.

Definition at line 1945 of file tls.h.

◆ extendedMasterSecret

bool_t extendedMasterSecret

Extended master secret computation.

Definition at line 1951 of file tls.h.

◆ maxEarlyDataSize

uint32_t maxEarlyDataSize

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

Definition at line 1961 of file tls.h.

◆ secret

uint8_t secret[48]

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

Definition at line 1947 of file tls.h.

◆ serverName

char_t* serverName

ServerName extension.

Definition at line 1964 of file tls.h.

◆ sessionId

uint8_t sessionId[32]

Session identifier.

Definition at line 1949 of file tls.h.

◆ sessionIdLen

size_t sessionIdLen

Length of the session identifier.

Definition at line 1950 of file tls.h.

◆ ticket

uint8_t* ticket

Session ticket.

Definition at line 1953 of file tls.h.

◆ ticketAgeAdd

uint32_t ticketAgeAdd

Random value used to obscure the age of the ticket.

Definition at line 1958 of file tls.h.

◆ ticketAlpn

char_t* ticketAlpn

ALPN protocol associated with the ticket.

Definition at line 1960 of file tls.h.

◆ ticketHashAlgo

TlsHashAlgo ticketHashAlgo

Hash algorithm associated with the ticket.

Definition at line 1959 of file tls.h.

◆ ticketLen

size_t ticketLen

Length of the session ticket.

Definition at line 1954 of file tls.h.

◆ ticketLifetime

uint32_t ticketLifetime

Lifetime of the ticket.

Definition at line 1957 of file tls.h.

◆ ticketTimestamp

systime_t ticketTimestamp

Timestamp to manage ticket lifetime.

Definition at line 1956 of file tls.h.

◆ timestamp

systime_t timestamp

Time stamp to manage entry lifetime.

Definition at line 1946 of file tls.h.

◆ version

uint16_t version

TLS protocol version.

Definition at line 1944 of file tls.h.


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