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_root * root
 Root of trust.
struct private_key * key
 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_cursor ticket
 Session ticket.
struct list_head conn
 List of connections.

Detailed Description

A TLS session.

Definition at line 389 of file tls.h.

Field Documentation

◆ refcnt

struct refcnt tls_session::refcnt

Reference counter.

Definition at line 391 of file tls.h.

Referenced by free_tls(), and tls_session().

◆ list

struct list_head tls_session::list

List of sessions.

Definition at line 393 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ name

const char* tls_session::name

Server name.

Definition at line 396 of file tls.h.

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

◆ root

struct x509_root* tls_session::root

Root of trust.

Definition at line 398 of file tls.h.

Referenced by free_tls_session(), and tls_session().

◆ key

struct private_key* tls_session::key

Private key.

Definition at line 400 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 403 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 405 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 407 of file tls.h.

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

◆ ticket

struct tls_cursor tls_session::ticket

Session ticket.

Definition at line 409 of file tls.h.

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

◆ conn

struct list_head tls_session::conn

List of connections.

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