iPXE
Data Fields
tls_server Struct Reference

TLS server state. More...

#include <tls.h>

Data Fields

uint8_t random [32]
 Random bytes. More...
 
void * exchange
 Server Key Exchange record (if any) More...
 
size_t exchange_len
 Server Key Exchange record length. More...
 
struct x509_rootroot
 Root of trust. More...
 
struct x509_chainchain
 Certificate chain. More...
 
struct asn1_cursor key
 Public key (within server certificate) More...
 
struct interface validator
 Certificate validator. More...
 
struct pending_operation validation
 Certificate validation pending operation. More...
 
struct pending_operation negotiation
 Security negotiation pending operation. More...
 

Detailed Description

TLS server state.

Definition at line 392 of file tls.h.

Field Documentation

◆ random

uint8_t tls_server::random[32]

Random bytes.

Definition at line 394 of file tls.h.

Referenced by tls_generate_keys(), tls_generate_master_secret(), tls_new_server_hello(), and tls_verify_dh_params().

◆ exchange

void* tls_server::exchange

Server Key Exchange record (if any)

Definition at line 396 of file tls.h.

Referenced by free_tls(), tls_new_server_key_exchange(), tls_send_client_key_exchange_dhe(), tls_send_client_key_exchange_ecdhe(), and tls_verify_dh_params().

◆ exchange_len

size_t tls_server::exchange_len

Server Key Exchange record length.

Definition at line 398 of file tls.h.

Referenced by tls_new_server_key_exchange(), tls_send_client_key_exchange_dhe(), tls_send_client_key_exchange_ecdhe(), and tls_verify_dh_params().

◆ root

struct x509_root* tls_server::root

Root of trust.

Definition at line 400 of file tls.h.

Referenced by add_tls(), free_tls(), tls_new_server_hello_done(), and tls_session().

◆ chain

struct x509_chain* tls_server::chain

Certificate chain.

Definition at line 402 of file tls.h.

Referenced by free_tls(), tls_new_server_hello_done(), tls_parse_chain(), and tls_validator_done().

◆ key

struct asn1_cursor tls_server::key

Public key (within server certificate)

Definition at line 404 of file tls.h.

Referenced by tls_parse_chain(), tls_send_client_key_exchange_pubkey(), tls_validator_done(), and tls_verify_dh_params().

◆ validator

struct interface tls_server::validator

Certificate validator.

Definition at line 406 of file tls.h.

Referenced by add_tls(), tls_close(), tls_new_server_hello_done(), tls_progress(), and tls_validator_done().

◆ validation

struct pending_operation tls_server::validation

Certificate validation pending operation.

Definition at line 408 of file tls.h.

Referenced by tls_close(), tls_new_server_hello_done(), tls_progress(), tls_restart(), and tls_validator_done().

◆ negotiation

struct pending_operation tls_server::negotiation

Security negotiation pending operation.

Definition at line 410 of file tls.h.

Referenced by tls_close(), tls_new_finished(), tls_ready(), tls_restart(), and tls_tx_step().


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