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

Field Documentation

◆ refcnt

struct refcnt tls_session::refcnt

Reference counter.

Definition at line 252 of file tls.h.

◆ list

struct list_head tls_session::list

List of sessions.

Definition at line 254 of file tls.h.

Referenced by tls_send_client_hello(), and tls_session().

◆ name

const char* tls_session::name

Server name.

Definition at line 257 of file tls.h.

Referenced by tls_send_client_hello().

◆ id

uint8_t tls_session::id[32]

Session ID.

Definition at line 259 of file tls.h.

◆ id_len

size_t tls_session::id_len

Length of session ID.

Definition at line 261 of file tls.h.

◆ ticket

void* tls_session::ticket

Session ticket.

Definition at line 263 of file tls.h.

◆ ticket_len

size_t tls_session::ticket_len

Length of session ticket.

Definition at line 265 of file tls.h.

◆ master_secret

uint8_t tls_session::master_secret[48]

Master secret.

Definition at line 267 of file tls.h.

◆ conn

struct list_head tls_session::conn

List of connections.

Definition at line 270 of file tls.h.

Referenced by add_tls().

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