OpenVPN
tls_root_ctx Struct Reference

Structure that wraps the TLS context. More...

#include <ssl_mbedtls.h>

Public Member Functions

 STACK_OF (X509_CRL) *crls

Data Fields

bool initialised
 True if the context has been initialised.
mbedtls_x509_crt * crt_chain
 Local Certificate chain.
mbedtls_x509_crt * ca_chain
 CA chain for remote verification.
mbedtls_pk_context * priv_key
 Local private key.
mbedtls_x509_crl * crl
 Certificate Revocation List.
time_t crl_last_mtime
 CRL last modification time.
off_t crl_last_size
 size of last loaded CRL
int * allowed_ciphers
 List of allowed ciphers for this connection.
uint16_t * groups
 List of allowed groups for this connection.
mbedtls_x509_crt_profile cert_profile
 Allowed certificate types.
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 85 of file ssl_mbedtls.h.

Member Function Documentation

◆ STACK_OF()

tls_root_ctx::STACK_OF ( X509_CRL )

Field Documentation

◆ allowed_ciphers

int* tls_root_ctx::allowed_ciphers

List of allowed ciphers for this connection.

Definition at line 98 of file ssl_mbedtls.h.

◆ ca_chain

mbedtls_x509_crt* tls_root_ctx::ca_chain

CA chain for remote verification.

Definition at line 90 of file ssl_mbedtls.h.

◆ cert_profile

mbedtls_x509_crt_profile tls_root_ctx::cert_profile

Allowed certificate types.

Definition at line 100 of file ssl_mbedtls.h.

◆ crl

mbedtls_x509_crl* tls_root_ctx::crl

Certificate Revocation List.

Definition at line 92 of file ssl_mbedtls.h.

◆ crl_last_mtime

time_t tls_root_ctx::crl_last_mtime

CRL last modification time.

Definition at line 93 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 94 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 89 of file ssl_mbedtls.h.

◆ ctx

◆ groups

uint16_t* tls_root_ctx::groups

List of allowed groups for this connection.

Definition at line 99 of file ssl_mbedtls.h.

◆ initialised

bool tls_root_ctx::initialised

True if the context has been initialised.

Definition at line 87 of file ssl_mbedtls.h.

◆ priv_key

mbedtls_pk_context* tls_root_ctx::priv_key

Local private key.

Definition at line 91 of file ssl_mbedtls.h.


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