Mbed OS Reference
Loading...
Searching...
No Matches
mbedtls_ssl_ticket_context Struct Reference

Context for session ticket handling functions. More...

#include <ssl_ticket.h>

Data Fields

mbedtls_ssl_ticket_key keys [2]
 
unsigned char active
 
uint32_t ticket_lifetime
 
int(* f_rng )(void *, unsigned char *, size_t)
 Callback for getting (pseudo-)random numbers
More...
 
void * p_rng
 

Detailed Description

Context for session ticket handling functions.

Definition at line 67 of file ssl_ticket.h.

Field Documentation

◆ keys

ticket protection keys

Definition at line 69 of file ssl_ticket.h.

◆ active

unsigned char active

index of the currently active key

Definition at line 70 of file ssl_ticket.h.

◆ ticket_lifetime

uint32_t ticket_lifetime

lifetime of tickets in seconds

Definition at line 72 of file ssl_ticket.h.

◆ f_rng

int(* f_rng) (void *, unsigned char *, size_t)

Callback for getting (pseudo-)random numbers

Definition at line 75 of file ssl_ticket.h.

◆ p_rng

void* p_rng

context for the RNG function

Definition at line 76 of file ssl_ticket.h.