#include <sslctx.hpp>
|
static void | x509_track_extract_nid (const X509Track::Type xt_type, const int nid, ::X509 *cert, const int depth, X509Track::Set &xts) |
|
static void | x509_track_extract_from_cert (::X509 *cert, const int depth, const X509Track::ConfigSet &cs, X509Track::Set &xts) |
|
static void | load_serial_number_into_authcert (AuthCert &authcert, ::X509 *cert) |
|
static std::string | cert_status_line (int preverify_ok, int depth, int err, const std::string &signature, const std::string &subject) |
|
static AuthCert::Fail::Type | cert_fail_code (const int openssl_err) |
|
static int | check_cert_warnings (const X509 *cert) |
|
static int | verify_callback_client (int preverify_ok, X509_STORE_CTX *ctx) |
|
static int | verify_callback_server (int preverify_ok, X509_STORE_CTX *ctx) |
|
static void | info_callback (const ::SSL *s, int where, int ret) |
|
static int | tls_ticket_key_callback (::SSL *ssl, unsigned char key_name[16], unsigned char iv[EVP_MAX_IV_LENGTH], ::EVP_CIPHER_CTX *ctx, ssl_mac_ctx *hctx, int enc) |
|
static bool | tls_ticket_init_cipher_hmac (const TLSSessionTicketBase::Key &key, unsigned char iv[EVP_MAX_IV_LENGTH], ::EVP_CIPHER_CTX *ctx, ssl_mac_ctx *mctx, const int enc) |
|
static bool | randomize_name_key (TLSSessionTicketBase::Name &name, TLSSessionTicketBase::Key &key) |
|
static int | client_hello_callback (::SSL *s, int *al, void *) |
|
static int | sni_error (std::string err, const int ssl_ad_error, OpenSSLContext *self, SSL *self_ssl, int *al) |
|
static size_t | sni_get_len (ConstBuffer &buf) |
|
static std::string | client_hello_get_sni (::SSL *s) |
|
Definition at line 103 of file sslctx.hpp.
◆ CertCRLList
◆ Ptr
◆ SSL_CTX_unique_ptr
◆ anonymous enum
Enumerator |
---|
MAX_CIPHERTEXT_IN | |
Definition at line 111 of file sslctx.hpp.
◆ OpenSSLContext()
openvpn::OpenSSLContext::OpenSSLContext |
( |
Config * |
config_arg | ) |
|
|
inlineprivate |
◆ ~OpenSSLContext()
openvpn::OpenSSLContext::~OpenSSLContext |
( |
| ) |
|
|
default |
◆ cert_fail_code()
◆ cert_status_line()
static std::string openvpn::OpenSSLContext::cert_status_line |
( |
int |
preverify_ok, |
|
|
int |
depth, |
|
|
int |
err, |
|
|
const std::string & |
signature, |
|
|
const std::string & |
subject |
|
) |
| |
|
inlinestaticprivate |
◆ check_cert_warnings()
static int openvpn::OpenSSLContext::check_cert_warnings |
( |
const X509 * |
cert | ) |
|
|
inlinestaticprivate |
◆ client_hello_callback()
static int openvpn::OpenSSLContext::client_hello_callback |
( |
::SSL * |
s, |
|
|
int * |
al, |
|
|
void * |
|
|
) |
| |
|
inlinestaticprivate |
◆ client_hello_get_sni()
static std::string openvpn::OpenSSLContext::client_hello_get_sni |
( |
::SSL * |
s | ) |
|
|
inlinestaticprivate |
◆ deferred_cert_verify_failsafe()
bool openvpn::OpenSSLContext::deferred_cert_verify_failsafe |
( |
const SSL & |
ssl | ) |
const |
|
inlineprivate |
◆ info_callback()
static void openvpn::OpenSSLContext::info_callback |
( |
const ::SSL * |
s, |
|
|
int |
where, |
|
|
int |
ret |
|
) |
| |
|
inlinestaticprivate |
◆ libctx()
◆ load_serial_number_into_authcert()
static void openvpn::OpenSSLContext::load_serial_number_into_authcert |
( |
AuthCert & |
authcert, |
|
|
::X509 * |
cert |
|
) |
| |
|
inlinestaticprivate |
◆ mode()
const Mode & openvpn::OpenSSLContext::mode |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ns_cert_type_defined()
bool openvpn::OpenSSLContext::ns_cert_type_defined |
( |
| ) |
const |
|
inlineprivate |
◆ randomize_name_key()
◆ set_openssl_tls_groups()
void openvpn::OpenSSLContext::set_openssl_tls_groups |
( |
const std::string & |
tls_groups | ) |
|
|
inlineprivate |
◆ setup_server_ticket_callback()
void openvpn::OpenSSLContext::setup_server_ticket_callback |
( |
| ) |
const |
|
inlineprivate |
◆ sni_error()
static int openvpn::OpenSSLContext::sni_error |
( |
std::string |
err, |
|
|
const int |
ssl_ad_error, |
|
|
OpenSSLContext * |
self, |
|
|
SSL * |
self_ssl, |
|
|
int * |
al |
|
) |
| |
|
inlinestaticprivate |
◆ sni_get_len()
static size_t openvpn::OpenSSLContext::sni_get_len |
( |
ConstBuffer & |
buf | ) |
|
|
inlinestaticprivate |
◆ ssl() [1/2]
◆ ssl() [2/2]
SSLAPI::Ptr openvpn::OpenSSLContext::ssl |
( |
const std::string * |
hostname, |
|
|
const std::string * |
cache_key |
|
) |
| |
|
inlineoverridevirtual |
◆ support_key_material_export()
static constexpr bool openvpn::OpenSSLContext::support_key_material_export |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ tls_ticket_init_cipher_hmac()
static bool openvpn::OpenSSLContext::tls_ticket_init_cipher_hmac |
( |
const TLSSessionTicketBase::Key & |
key, |
|
|
unsigned char |
iv[EVP_MAX_IV_LENGTH], |
|
|
::EVP_CIPHER_CTX * |
ctx, |
|
|
ssl_mac_ctx * |
mctx, |
|
|
const int |
enc |
|
) |
| |
|
inlinestaticprivate |
◆ tls_ticket_key_callback()
static int openvpn::OpenSSLContext::tls_ticket_key_callback |
( |
::SSL * |
ssl, |
|
|
unsigned char |
key_name[16], |
|
|
unsigned char |
iv[EVP_MAX_IV_LENGTH], |
|
|
::EVP_CIPHER_CTX * |
ctx, |
|
|
ssl_mac_ctx * |
hctx, |
|
|
int |
enc |
|
) |
| |
|
inlinestaticprivate |
◆ translate_cipher_list()
static std::string openvpn::OpenSSLContext::translate_cipher_list |
( |
std::string |
cipherlist | ) |
|
|
inlinestatic |
◆ update_trust()
void openvpn::OpenSSLContext::update_trust |
( |
const CertCRLList & |
cc | ) |
|
|
inline |
◆ verify_callback_client()
static int openvpn::OpenSSLContext::verify_callback_client |
( |
int |
preverify_ok, |
|
|
X509_STORE_CTX * |
ctx |
|
) |
| |
|
inlinestaticprivate |
◆ verify_callback_server()
static int openvpn::OpenSSLContext::verify_callback_server |
( |
int |
preverify_ok, |
|
|
X509_STORE_CTX * |
ctx |
|
) |
| |
|
inlinestaticprivate |
◆ verify_ns_cert_type()
bool openvpn::OpenSSLContext::verify_ns_cert_type |
( |
::X509 * |
cert | ) |
const |
|
inlineprivate |
◆ verify_x509_cert_eku()
bool openvpn::OpenSSLContext::verify_x509_cert_eku |
( |
::X509 * |
cert | ) |
const |
|
inlineprivate |
◆ verify_x509_cert_ku()
bool openvpn::OpenSSLContext::verify_x509_cert_ku |
( |
::X509 * |
cert | ) |
const |
|
inlineprivate |
◆ x509_cert_eku_defined()
bool openvpn::OpenSSLContext::x509_cert_eku_defined |
( |
| ) |
const |
|
inlineprivate |
◆ x509_cert_ku_defined()
bool openvpn::OpenSSLContext::x509_cert_ku_defined |
( |
| ) |
const |
|
inlineprivate |
◆ x509_track_extract_from_cert()
◆ x509_track_extract_nid()
static void openvpn::OpenSSLContext::x509_track_extract_nid |
( |
const X509Track::Type |
xt_type, |
|
|
const int |
nid, |
|
|
::X509 * |
cert, |
|
|
const int |
depth, |
|
|
X509Track::Set & |
xts |
|
) |
| |
|
inlinestaticprivate |
◆ config
◆ ctx
◆ epki
◆ sess_cache
The documentation for this class was generated from the following file: