iPXE
tls_session Struct Reference

A TLS session. More...

#include <tls.h>

Data Fields

struct refcnt refcnt
 Reference counter.
struct list_head list
 List of sessions.
const char * name
 Server name.
struct x509_rootroot
 Root of trust.
struct private_keykey
 Private key.
uint8_t id [32]
 Session ID.
size_t id_len
 Length of session ID.
void * ticket
 Session ticket.
size_t ticket_len
 Length of session ticket.
uint8_t master_secret [48]
 Master secret.
int extended_master_secret
 Extended master secret flag.
struct list_head conn
 List of connections.

Detailed Description

A TLS session.

Definition at line 341 of file tls.h.

Field Documentation

◆ refcnt

struct refcnt tls_session::refcnt

Reference counter.

Definition at line 343 of file tls.h.

Referenced by free_tls(), and tls_session().

◆ list

struct list_head tls_session::list

List of sessions.

Definition at line 345 of file tls.h.

Referenced by free_tls_session(), tls_client_hello(), and tls_session().

◆ name

const char* tls_session::name

Server name.

Definition at line 348 of file tls.h.

Referenced by tls_client_hello(), tls_session(), and tls_validator_done().

◆ root

struct x509_root* tls_session::root

Root of trust.

Definition at line 350 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ key

struct private_key* tls_session::key

Private key.

Definition at line 352 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ id

uint8_t tls_session::id[32]

Session ID.

Definition at line 355 of file tls.h.

Referenced by tls_new_finished(), and tls_tx_step().

◆ id_len

size_t tls_session::id_len

Length of session ID.

Definition at line 357 of file tls.h.

Referenced by tls_new_finished(), and tls_tx_step().

◆ ticket

void* tls_session::ticket

Session ticket.

Definition at line 359 of file tls.h.

Referenced by free_tls_session(), tls_client_hello(), and tls_new_finished().

◆ ticket_len

size_t tls_session::ticket_len

Length of session ticket.

Definition at line 361 of file tls.h.

Referenced by tls_client_hello(), and tls_new_finished().

◆ master_secret

uint8_t tls_session::master_secret[48]

Master secret.

Definition at line 363 of file tls.h.

Referenced by tls_new_finished(), and tls_tx_step().

◆ extended_master_secret

int tls_session::extended_master_secret

Extended master secret flag.

Definition at line 365 of file tls.h.

Referenced by tls_new_finished(), and tls_new_server_hello().

◆ conn

struct list_head tls_session::conn

List of connections.

Definition at line 368 of file tls.h.

Referenced by add_tls(), free_tls_session(), tls_new_finished(), tls_session(), tls_tx_resume_all(), and tls_tx_step().


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