#include <sslctx.hpp>
Definition at line 785 of file sslctx.hpp.
◆ Ptr
◆ ~SSL()
openvpn::OpenSSLContext::SSL::~SSL |
( |
| ) |
|
|
inline |
◆ SSL()
openvpn::OpenSSLContext::SSL::SSL |
( |
const OpenSSLContext & |
ctx, |
|
|
const std::string * |
hostname, |
|
|
const std::string * |
cache_key |
|
) |
| |
|
inlineprivate |
◆ auth_cert()
const AuthCert::Ptr & openvpn::OpenSSLContext::SSL::auth_cert |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ did_full_handshake()
bool openvpn::OpenSSLContext::SSL::did_full_handshake |
( |
| ) |
|
|
inlineoverridevirtual |
Returns the cached/reused status of the session.
- Returns
- true if we did a full SSL handshake/negotiation or if the handshake attempt failed with an exception.
-
false for cached, reused, or persisted sessions or if previously called on this session.
Implements openvpn::SSLAPI.
Definition at line 884 of file sslctx.hpp.
◆ export_keying_material()
bool openvpn::OpenSSLContext::SSL::export_keying_material |
( |
const std::string & |
label, |
|
|
unsigned char * |
dest, |
|
|
size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
◆ init_static()
static void openvpn::OpenSSLContext::SSL::init_static |
( |
| ) |
|
|
inlinestatic |
◆ mark_no_cache()
void openvpn::OpenSSLContext::SSL::mark_no_cache |
( |
| ) |
|
|
inlineoverridevirtual |
◆ mem_bio()
static BIO * openvpn::OpenSSLContext::SSL::mem_bio |
( |
const Frame::Ptr & |
frame | ) |
|
|
inlinestaticprivate |
◆ print_ec_key_details()
static void openvpn::OpenSSLContext::SSL::print_ec_key_details |
( |
EVP_PKEY * |
pkey, |
|
|
std::ostream & |
os |
|
) |
| |
|
inlinestaticprivate |
◆ read_ciphertext()
BufferPtr openvpn::OpenSSLContext::SSL::read_ciphertext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ read_ciphertext_ready()
bool openvpn::OpenSSLContext::SSL::read_ciphertext_ready |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ read_cleartext()
ssize_t openvpn::OpenSSLContext::SSL::read_cleartext |
( |
void * |
data, |
|
|
const size_t |
capacity |
|
) |
| |
|
inlineoverridevirtual |
◆ read_cleartext_ready()
bool openvpn::OpenSSLContext::SSL::read_cleartext_ready |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ rebuild_authcert()
void openvpn::OpenSSLContext::SSL::rebuild_authcert |
( |
| ) |
const |
|
inlineprivate |
◆ set_parent()
void openvpn::OpenSSLContext::SSL::set_parent |
( |
const OpenSSLContext * |
ctx | ) |
|
|
inlineprivate |
◆ ssl_clear()
void openvpn::OpenSSLContext::SSL::ssl_clear |
( |
| ) |
|
|
inlineprivate |
◆ ssl_erase()
void openvpn::OpenSSLContext::SSL::ssl_erase |
( |
| ) |
|
|
inlineprivate |
◆ ssl_handshake_details() [1/2]
std::string openvpn::OpenSSLContext::SSL::ssl_handshake_details |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ssl_handshake_details() [2/2]
static std::string openvpn::OpenSSLContext::SSL::ssl_handshake_details |
( |
const ::SSL * |
c_ssl | ) |
|
|
inlinestaticprivate |
◆ ssl_pending_override()
static int openvpn::OpenSSLContext::SSL::ssl_pending_override |
( |
const ::SSL * |
| ) |
|
|
inlinestaticprivate |
◆ start_handshake()
void openvpn::OpenSSLContext::SSL::start_handshake |
( |
| ) |
|
|
inlineoverridevirtual |
◆ write_ciphertext()
void openvpn::OpenSSLContext::SSL::write_ciphertext |
( |
const BufferPtr & |
buf | ) |
|
|
inlineoverridevirtual |
◆ write_ciphertext_unbuffered()
void openvpn::OpenSSLContext::SSL::write_ciphertext_unbuffered |
( |
const unsigned char * |
data, |
|
|
const size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
◆ write_cleartext_unbuffered()
ssize_t openvpn::OpenSSLContext::SSL::write_cleartext_unbuffered |
( |
const void * |
data, |
|
|
const size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
◆ OpenSSLContext
◆ authcert
◆ called_did_full_handshake
bool openvpn::OpenSSLContext::SSL::called_did_full_handshake |
|
private |
◆ context_data_index
int openvpn::OpenSSLContext::SSL::context_data_index = -1 |
|
inlinestaticprivate |
◆ ct_in
BIO* openvpn::OpenSSLContext::SSL::ct_in |
|
private |
◆ ct_out
BIO* openvpn::OpenSSLContext::SSL::ct_out |
|
private |
◆ overflow
bool openvpn::OpenSSLContext::SSL::overflow |
|
private |
◆ sess_cache_key
◆ sni_ctx
◆ ssl
::SSL* openvpn::OpenSSLContext::SSL::ssl |
|
private |
◆ ssl_bio
BIO* openvpn::OpenSSLContext::SSL::ssl_bio |
|
private |
◆ ssl_bio_linkage
bool openvpn::OpenSSLContext::SSL::ssl_bio_linkage |
|
private |
◆ ssl_data_index
int openvpn::OpenSSLContext::SSL::ssl_data_index = -1 |
|
inlinestaticprivate |
The documentation for this class was generated from the following file: