#include <sslctx.hpp>
|
static std::string | status_string (const mbedtls_x509_crt *cert, const int depth, const uint32_t *flags) |
|
static std::string | cert_info (const mbedtls_x509_crt *cert, const char *prefix=nullptr) |
|
static int | epki_decrypt (void *arg, int mode, size_t *olen, const unsigned char *input, unsigned char *output, size_t output_max_len) |
|
static int | epki_sign (void *arg, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, const unsigned char *hash, unsigned char *sig) |
|
static size_t | epki_key_len (void *arg) |
|
static void | load_serial_number_into_authcert (AuthCert &authcert, const mbedtls_x509_crt *cert) |
|
static bool | load_issuer_fingerprint_into_authcert (AuthCert &authcert, const mbedtls_x509_crt *cert) |
|
Definition at line 183 of file sslctx.hpp.
◆ Ptr
◆ anonymous enum
Enumerator |
---|
MAX_CIPHERTEXT_IN | |
Definition at line 188 of file sslctx.hpp.
◆ ~MbedTLSContext()
virtual openvpn::MbedTLSContext::~MbedTLSContext |
( |
| ) |
|
|
inlinevirtual |
◆ MbedTLSContext()
openvpn::MbedTLSContext::MbedTLSContext |
( |
Config * |
config_arg | ) |
|
|
inlineprotected |
◆ cert_info()
static std::string openvpn::MbedTLSContext::cert_info |
( |
const mbedtls_x509_crt * |
cert, |
|
|
const char * |
prefix = nullptr |
|
) |
| |
|
inlinestaticprivate |
◆ epki_decrypt()
static int openvpn::MbedTLSContext::epki_decrypt |
( |
void * |
arg, |
|
|
int |
mode, |
|
|
size_t * |
olen, |
|
|
const unsigned char * |
input, |
|
|
unsigned char * |
output, |
|
|
size_t |
output_max_len |
|
) |
| |
|
inlinestaticprivate |
◆ epki_key_len()
static size_t openvpn::MbedTLSContext::epki_key_len |
( |
void * |
arg | ) |
|
|
inlinestaticprivate |
◆ epki_sign()
static int openvpn::MbedTLSContext::epki_sign |
( |
void * |
arg, |
|
|
int(*)(void *, unsigned char *, size_t) |
f_rng, |
|
|
void * |
p_rng, |
|
|
int |
mode, |
|
|
mbedtls_md_type_t |
md_alg, |
|
|
unsigned int |
hashlen, |
|
|
const unsigned char * |
hash, |
|
|
unsigned char * |
sig |
|
) |
| |
|
inlinestaticprivate |
◆ erase()
void openvpn::MbedTLSContext::erase |
( |
| ) |
|
|
inlineprivate |
◆ key_len()
size_t openvpn::MbedTLSContext::key_len |
( |
| ) |
const |
|
inlineprivate |
◆ libctx()
◆ load_issuer_fingerprint_into_authcert()
static bool openvpn::MbedTLSContext::load_issuer_fingerprint_into_authcert |
( |
AuthCert & |
authcert, |
|
|
const mbedtls_x509_crt * |
cert |
|
) |
| |
|
inlinestaticprivate |
◆ load_serial_number_into_authcert()
static void openvpn::MbedTLSContext::load_serial_number_into_authcert |
( |
AuthCert & |
authcert, |
|
|
const mbedtls_x509_crt * |
cert |
|
) |
| |
|
inlinestaticprivate |
◆ mode()
const Mode & openvpn::MbedTLSContext::mode |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ns_cert_type_defined()
bool openvpn::MbedTLSContext::ns_cert_type_defined |
( |
| ) |
const |
|
inlineprivate |
◆ ssl() [1/2]
◆ ssl() [2/2]
SSLAPI::Ptr openvpn::MbedTLSContext::ssl |
( |
const std::string * |
hostname, |
|
|
const std::string * |
cache_key |
|
) |
| |
|
inlineoverridevirtual |
◆ status_string()
static std::string openvpn::MbedTLSContext::status_string |
( |
const mbedtls_x509_crt * |
cert, |
|
|
const int |
depth, |
|
|
const uint32_t * |
flags |
|
) |
| |
|
inlinestaticprivate |
◆ support_key_material_export()
static constexpr bool openvpn::MbedTLSContext::support_key_material_export |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ verify_callback_client()
static int openvpn::MbedTLSContext::verify_callback_client |
( |
void * |
arg, |
|
|
mbedtls_x509_crt * |
cert, |
|
|
int |
depth, |
|
|
uint32_t * |
flags |
|
) |
| |
|
inlinestaticprotected |
◆ verify_callback_server()
static int openvpn::MbedTLSContext::verify_callback_server |
( |
void * |
arg, |
|
|
mbedtls_x509_crt * |
cert, |
|
|
int |
depth, |
|
|
uint32_t * |
flags |
|
) |
| |
|
inlinestaticprotected |
◆ verify_ns_cert_type()
bool openvpn::MbedTLSContext::verify_ns_cert_type |
( |
const mbedtls_x509_crt * |
cert | ) |
const |
|
inlineprivate |
◆ verify_x509_cert_eku()
bool openvpn::MbedTLSContext::verify_x509_cert_eku |
( |
mbedtls_x509_crt * |
cert | ) |
|
|
inlineprivate |
◆ verify_x509_cert_ku()
bool openvpn::MbedTLSContext::verify_x509_cert_ku |
( |
const mbedtls_x509_crt * |
cert | ) |
|
|
inlineprivate |
◆ x509_cert_eku_defined()
bool openvpn::MbedTLSContext::x509_cert_eku_defined |
( |
| ) |
const |
|
inlineprivate |
◆ x509_cert_ku_defined()
bool openvpn::MbedTLSContext::x509_cert_ku_defined |
( |
| ) |
const |
|
inlineprivate |
◆ config
The documentation for this class was generated from the following file: