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.
struct secure_preshared_identity psid
 Bound peer identity.
struct tls_preshared_key psk
 Pre-shared key.
struct tls_session_id id
 Session ID.
struct tls_session_ticket ticket
 Session ticket.
struct list_head conn
 List of connections.

Detailed Description

A TLS session.

Definition at line 364 of file tls.h.

Field Documentation

◆ refcnt

struct refcnt tls_session::refcnt

Reference counter.

Definition at line 366 of file tls.h.

Referenced by free_tls(), and tls_session().

◆ list

struct list_head tls_session::list

List of sessions.

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

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

◆ root

struct x509_root* tls_session::root

Root of trust.

Definition at line 373 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ key

struct private_key* tls_session::key

Private key.

Definition at line 375 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ psid

struct secure_preshared_identity tls_session::psid

Bound peer identity.

Definition at line 378 of file tls.h.

Referenced by free_tls_session(), tls_channel_load(), tls_channel_save(), tls_resume(), and tls_save().

◆ psk

struct tls_preshared_key tls_session::psk

Pre-shared key.

Definition at line 380 of file tls.h.

Referenced by tls_channel_load(), and tls_channel_save().

◆ id

struct tls_session_id tls_session::id

Session ID.

Definition at line 382 of file tls.h.

Referenced by tls_client_hello(), tls_new_server_hello(), tls_resume(), tls_save(), and tls_session().

◆ ticket

struct tls_session_ticket tls_session::ticket

Session ticket.

Definition at line 384 of file tls.h.

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

◆ conn

struct list_head tls_session::conn

List of connections.

Definition at line 387 of file tls.h.

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


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