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 315 of file tls.h.

Field Documentation

◆ refcnt

struct refcnt tls_session::refcnt

Reference counter.

Definition at line 317 of file tls.h.

◆ list

struct list_head tls_session::list

List of sessions.

Definition at line 319 of file tls.h.

Referenced by tls_client_hello(), and tls_session().

◆ name

const char* tls_session::name

Server name.

Definition at line 322 of file tls.h.

Referenced by tls_client_hello().

◆ root

struct x509_root* tls_session::root

Root of trust.

Definition at line 324 of file tls.h.

◆ key

struct private_key* tls_session::key

Private key.

Definition at line 326 of file tls.h.

◆ id

uint8_t tls_session::id[32]

Session ID.

Definition at line 329 of file tls.h.

◆ id_len

size_t tls_session::id_len

Length of session ID.

Definition at line 331 of file tls.h.

◆ ticket

void* tls_session::ticket

Session ticket.

Definition at line 333 of file tls.h.

◆ ticket_len

size_t tls_session::ticket_len

Length of session ticket.

Definition at line 335 of file tls.h.

◆ master_secret

uint8_t tls_session::master_secret[48]

Master secret.

Definition at line 337 of file tls.h.

◆ conn

struct list_head tls_session::conn

List of connections.

Definition at line 340 of file tls.h.

Referenced by add_tls().


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