#include <sslctx.hpp>
|
static int | ct_read_func (void *arg, unsigned char *data, size_t length) |
|
static int | ct_write_func (void *arg, const unsigned char *data, size_t length) |
|
static int | rng_callback (void *arg, unsigned char *data, size_t len) |
|
static void | dbg_callback (void *arg, int level, const char *filename, int linenum, const char *text) |
|
|
static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result.
|
|
Definition at line 675 of file sslctx.hpp.
◆ Ptr
◆ anonymous enum
Enumerator |
---|
CT_WOULD_BLOCK | |
CT_INTERNAL_ERROR | |
Definition at line 678 of file sslctx.hpp.
◆ ~SSL()
virtual openvpn::MbedTLSContext::SSL::~SSL |
( |
| ) |
|
|
inlinevirtual |
◆ SSL()
openvpn::MbedTLSContext::SSL::SSL |
( |
MbedTLSContext * |
ctx, |
|
|
const char * |
hostname |
|
) |
| |
|
inlineprotected |
◆ auth_cert()
const AuthCert::Ptr & openvpn::MbedTLSContext::SSL::auth_cert |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ clear()
void openvpn::MbedTLSContext::SSL::clear |
( |
| ) |
|
|
inlineprivate |
◆ ct_read_func()
static int openvpn::MbedTLSContext::SSL::ct_read_func |
( |
void * |
arg, |
|
|
unsigned char * |
data, |
|
|
size_t |
length |
|
) |
| |
|
inlinestaticprivate |
◆ ct_write_func()
static int openvpn::MbedTLSContext::SSL::ct_write_func |
( |
void * |
arg, |
|
|
const unsigned char * |
data, |
|
|
size_t |
length |
|
) |
| |
|
inlinestaticprivate |
◆ dbg_callback()
static void openvpn::MbedTLSContext::SSL::dbg_callback |
( |
void * |
arg, |
|
|
int |
level, |
|
|
const char * |
filename, |
|
|
int |
linenum, |
|
|
const char * |
text |
|
) |
| |
|
inlinestaticprivate |
◆ did_full_handshake()
bool openvpn::MbedTLSContext::SSL::did_full_handshake |
( |
| ) |
|
|
inlineoverridevirtual |
◆ erase()
void openvpn::MbedTLSContext::SSL::erase |
( |
| ) |
|
|
inlineprivate |
◆ export_keying_material()
bool openvpn::MbedTLSContext::SSL::export_keying_material |
( |
const std::string & |
label, |
|
|
unsigned char * |
, |
|
|
size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
◆ mark_no_cache()
void openvpn::MbedTLSContext::SSL::mark_no_cache |
( |
| ) |
|
|
inlineoverridevirtual |
◆ read_ciphertext()
BufferPtr openvpn::MbedTLSContext::SSL::read_ciphertext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ read_ciphertext_ready()
bool openvpn::MbedTLSContext::SSL::read_ciphertext_ready |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ read_cleartext()
ssize_t openvpn::MbedTLSContext::SSL::read_cleartext |
( |
void * |
data, |
|
|
const size_t |
capacity |
|
) |
| |
|
inlineoverridevirtual |
◆ read_cleartext_ready()
bool openvpn::MbedTLSContext::SSL::read_cleartext_ready |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ rng_callback()
static int openvpn::MbedTLSContext::SSL::rng_callback |
( |
void * |
arg, |
|
|
unsigned char * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlinestaticprivate |
◆ set_mbedtls_cipherlist()
void openvpn::MbedTLSContext::SSL::set_mbedtls_cipherlist |
( |
const std::string & |
cipher_list | ) |
|
|
inlineprivate |
◆ set_mbedtls_groups()
void openvpn::MbedTLSContext::SSL::set_mbedtls_groups |
( |
const std::string & |
tls_groups | ) |
|
|
inlineprivate |
◆ ssl_handshake_details()
std::string openvpn::MbedTLSContext::SSL::ssl_handshake_details |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ start_handshake()
void openvpn::MbedTLSContext::SSL::start_handshake |
( |
| ) |
|
|
inlineoverridevirtual |
◆ write_ciphertext()
void openvpn::MbedTLSContext::SSL::write_ciphertext |
( |
const BufferPtr & |
buf | ) |
|
|
inlineoverridevirtual |
◆ write_ciphertext_unbuffered()
void openvpn::MbedTLSContext::SSL::write_ciphertext_unbuffered |
( |
const unsigned char * |
data, |
|
|
const size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
◆ write_cleartext_unbuffered()
ssize_t openvpn::MbedTLSContext::SSL::write_cleartext_unbuffered |
( |
const void * |
data, |
|
|
const size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
◆ MbedTLSContext
◆ allowed_ciphers
std::unique_ptr<int[]> openvpn::MbedTLSContext::SSL::allowed_ciphers |
|
protected |
◆ authcert
◆ ct_in
◆ ct_out
◆ epki_ctx
◆ groups
std::unique_ptr<mbedtls_ecp_group_id[]> openvpn::MbedTLSContext::SSL::groups |
|
protected |
Hold the array that is used for setting the allowed ciphers.
Definition at line 1034 of file sslctx.hpp.
◆ overflow
bool openvpn::MbedTLSContext::SSL::overflow |
|
private |
◆ parent
Hold the array that is used for setting the curves.
Definition at line 1037 of file sslctx.hpp.
◆ rng
◆ ssl
mbedtls_ssl_context* openvpn::MbedTLSContext::SSL::ssl |
|
private |
◆ sslconf
mbedtls_ssl_config* openvpn::MbedTLSContext::SSL::sslconf |
|
protected |
The documentation for this class was generated from the following file: