OpenVPN
Data Fields
tls_root_ctx Struct Reference

Structure that wraps the TLS context. More...

#include <ssl_mbedtls.h>

Collaboration diagram for tls_root_ctx:
Collaboration graph
[legend]

Data Fields

bool initialised
 True if the context has been initialised. More...
 
int endpoint
 Whether or not this is a server or a client. More...
 
mbedtls_dhm_context * dhm_ctx
 Diffie-Helmann-Merkle context. More...
 
mbedtls_x509_crt * crt_chain
 Local Certificate chain. More...
 
mbedtls_x509_crt * ca_chain
 CA chain for remote verification. More...
 
mbedtls_pk_context * priv_key
 Local private key. More...
 
mbedtls_x509_crl * crl
 Certificate Revocation List. More...
 
time_t crl_last_mtime
 CRL last modification time. More...
 
off_t crl_last_size
 size of last loaded CRL More...
 
struct external_context external_key
 External key context. More...
 
int * allowed_ciphers
 List of allowed ciphers for this connection. More...
 
mbedtls_compat_group_idgroups
 List of allowed groups for this connection. More...
 
mbedtls_x509_crt_profile cert_profile
 Allowed certificate types. More...
 
SSL_CTX * ctx
 

Detailed Description

Structure that wraps the TLS context.

Contents differ depending on the SSL library used.

Either priv_key_pkcs11 or priv_key must be filled in.

Contents differ depending on the SSL library used.

Definition at line 106 of file ssl_mbedtls.h.

Field Documentation

◆ allowed_ciphers

int* tls_root_ctx::allowed_ciphers

List of allowed ciphers for this connection.

Definition at line 122 of file ssl_mbedtls.h.

◆ ca_chain

mbedtls_x509_crt* tls_root_ctx::ca_chain

CA chain for remote verification.

Definition at line 113 of file ssl_mbedtls.h.

◆ cert_profile

mbedtls_x509_crt_profile tls_root_ctx::cert_profile

Allowed certificate types.

Definition at line 124 of file ssl_mbedtls.h.

◆ crl

mbedtls_x509_crl* tls_root_ctx::crl

Certificate Revocation List.

Definition at line 115 of file ssl_mbedtls.h.

◆ crl_last_mtime

time_t tls_root_ctx::crl_last_mtime

CRL last modification time.

Definition at line 116 of file ssl_mbedtls.h.

Referenced by tls_ctx_reload_crl().

◆ crl_last_size

off_t tls_root_ctx::crl_last_size

size of last loaded CRL

Definition at line 117 of file ssl_mbedtls.h.

Referenced by tls_ctx_reload_crl().

◆ crt_chain

mbedtls_x509_crt* tls_root_ctx::crt_chain

Local Certificate chain.

Definition at line 112 of file ssl_mbedtls.h.

◆ ctx

SSL_CTX* tls_root_ctx::ctx

◆ dhm_ctx

mbedtls_dhm_context* tls_root_ctx::dhm_ctx

Diffie-Helmann-Merkle context.

Definition at line 111 of file ssl_mbedtls.h.

◆ endpoint

int tls_root_ctx::endpoint

Whether or not this is a server or a client.

Definition at line 109 of file ssl_mbedtls.h.

◆ external_key

struct external_context tls_root_ctx::external_key

External key context.

Definition at line 121 of file ssl_mbedtls.h.

◆ groups

mbedtls_compat_group_id* tls_root_ctx::groups

List of allowed groups for this connection.

Definition at line 123 of file ssl_mbedtls.h.

◆ initialised

bool tls_root_ctx::initialised

True if the context has been initialised.

Definition at line 107 of file ssl_mbedtls.h.

◆ priv_key

mbedtls_pk_context* tls_root_ctx::priv_key

Local private key.

Definition at line 114 of file ssl_mbedtls.h.


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