mbed TLS v2.2.0
Data Fields
mbedtls_ssl_ticket_context Struct Reference

Detailed Description

Context for session ticket handling functions.

Definition at line 57 of file ssl_ticket.h.

#include <ssl_ticket.h>

Collaboration diagram for mbedtls_ssl_ticket_context:
Collaboration graph
[legend]

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
 

Field Documentation

unsigned char mbedtls_ssl_ticket_context::active

index of the currently active key

Definition at line 60 of file ssl_ticket.h.

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

Callback for getting (pseudo-)random numbers.

Definition at line 65 of file ssl_ticket.h.

mbedtls_ssl_ticket_key mbedtls_ssl_ticket_context::keys[2]

ticket protection keys

Definition at line 59 of file ssl_ticket.h.

void* mbedtls_ssl_ticket_context::p_rng

context for the RNG function

Definition at line 66 of file ssl_ticket.h.

uint32_t mbedtls_ssl_ticket_context::ticket_lifetime

lifetime of tickets in seconds

Definition at line 62 of file ssl_ticket.h.


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