iPXE
Data Fields
tls_session Struct Reference

A TLS session. More...

#include <tls.h>

Data Fields

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

Detailed Description

A TLS session.

Definition at line 321 of file tls.h.

Field Documentation

◆ refcnt

struct refcnt tls_session::refcnt

Reference counter.

Definition at line 323 of file tls.h.

Referenced by free_tls(), and tls_session().

◆ list

struct list_head tls_session::list

List of sessions.

Definition at line 325 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 328 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 330 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ key

struct private_key* tls_session::key

Private key.

Definition at line 332 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ id

uint8_t tls_session::id[32]

Session ID.

Definition at line 335 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 337 of file tls.h.

Referenced by tls_new_finished(), and tls_tx_step().

◆ ticket

void* tls_session::ticket

Session ticket.

Definition at line 339 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 341 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 343 of file tls.h.

Referenced by tls_new_finished(), and tls_tx_step().

◆ conn

struct list_head tls_session::conn

List of connections.

Definition at line 346 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: