mbedtls_ssl_session is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxRelatedReferencesInstances

Fields

Field
Declared as
Description
private_mfl_code
unsigned char MBEDTLS_PRIVATE
private_exported
unsigned char MBEDTLS_PRIVATE
private_endpoint
private_tls_version
TLS version negotiated in the session. Used if and when renegotiating or resuming a session instead of the configured minor TLS version.
private_start
private_ciphersuite
private_id_len
private_id
unsigned char MBEDTLS_PRIVATE(id)[32]
session identifier.
private_master
unsigned char MBEDTLS_PRIVATE(master)[48]
the master secret.
private_peer_cert
private_verify_result
uint32_t MBEDTLS_PRIVATE
private_ticket
unsigned char *MBEDTLS_PRIVATE
private_ticket_len
private_ticket_lifetime
uint32_t MBEDTLS_PRIVATE
private_ticket_creation_time
When a ticket is created by a TLS server as part of an established TLS session, the ticket creation time may need to be saved for the ticket module to be able to check the ticket age when the ticket is used. That's the purpose of this field. Before creating a new ticket, an Mbed TLS server set this field with its current time in milliseconds. This time may then be saved in the session ticket data by the session ticket writing function and recovered by the ticket parsing function later when the ticket is used. The ticket module may then use this time to compute the ticket age and determine if it has expired or not. The Mbed TLS implementations of the session ticket writing and parsing functions save and retrieve the ticket creation time as part of the session ticket data. The session ticket parsing function relies on the mbedtls_ssl_session_get_ticket_creation_time() API to get the ticket creation time from the session ticket data.
private_encrypt_then_mac
unsigned char MBEDTLS_PRIVATE(mfl_code
unsigned char MBEDTLS_PRIVATE(exported
uint8_t MBEDTLS_PRIVATE(endpoint
TLS version negotiated in the session. Used if and when renegotiating or resuming a session instead of the configured minor TLS version.
int MBEDTLS_PRIVATE(ciphersuite
size_t MBEDTLS_PRIVATE(id_len
unsigned char MBEDTLS_PRIVATE(id)[32]
session identifier.
unsigned char MBEDTLS_PRIVATE(master)[48]
the master secret.
uint32_t MBEDTLS_PRIVATE(verify_result
unsigned char *MBEDTLS_PRIVATE(ticket
size_t MBEDTLS_PRIVATE(ticket_len
uint32_t MBEDTLS_PRIVATE(ticket_lifetime
mbedtls_ms_time_t MBEDTLS_PRIVATE(ticket_creation_time
When a ticket is created by a TLS server as part of an established TLS session, the ticket creation time may need to be saved for the ticket module to be able to check the ticket age when the ticket is used. That's the purpose of this field. Before creating a new ticket, an Mbed TLS server set this field with its current time in milliseconds. This time may then be saved in the session ticket data by the session ticket writing function and recovered by the ticket parsing function later when the ticket is used. The ticket module may then use this time to compute the ticket age and determine if it has expired or not. The Mbed TLS implementations of the session ticket writing and parsing functions save and retrieve the ticket creation time as part of the session ticket data. The session ticket parsing function relies on the mbedtls_ssl_session_get_ticket_creation_time() API to get the ticket creation time from the session ticket data.
int MBEDTLS_PRIVATE(encrypt_then_mac

References