#include <pkctx.hpp>
|
static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result.
|
|
Definition at line 31 of file pkctx.hpp.
◆ Ptr
◆ PKContext() [1/2]
openvpn::MbedTLSPKI::PKContext::PKContext |
( |
| ) |
|
|
inline |
◆ PKContext() [2/2]
openvpn::MbedTLSPKI::PKContext::PKContext |
( |
const std::string & |
key_txt, |
|
|
const std::string & |
title, |
|
|
const std::string & |
priv_key_pwd, |
|
|
MbedTLSRandom & |
rand |
|
) |
| |
|
inline |
◆ ~PKContext()
openvpn::MbedTLSPKI::PKContext::~PKContext |
( |
| ) |
|
|
inline |
◆ alloc()
void openvpn::MbedTLSPKI::PKContext::alloc |
( |
| ) |
|
|
inlineprivate |
◆ dealloc()
void openvpn::MbedTLSPKI::PKContext::dealloc |
( |
| ) |
|
|
inlineprivate |
◆ defined()
bool openvpn::MbedTLSPKI::PKContext::defined |
( |
| ) |
const |
|
inline |
◆ epki_enable()
void openvpn::MbedTLSPKI::PKContext::epki_enable |
( |
void * |
arg, |
|
|
mbedtls_pk_rsa_alt_decrypt_func |
epki_decrypt, |
|
|
mbedtls_pk_rsa_alt_sign_func |
epki_sign, |
|
|
mbedtls_pk_rsa_alt_key_len_func |
epki_key_len |
|
) |
| |
|
inline |
◆ extract()
std::string openvpn::MbedTLSPKI::PKContext::extract |
( |
| ) |
const |
|
inline |
◆ get()
mbedtls_pk_context * openvpn::MbedTLSPKI::PKContext::get |
( |
| ) |
const |
|
inline |
◆ key_length()
size_t openvpn::MbedTLSPKI::PKContext::key_length |
( |
| ) |
const |
|
inline |
◆ key_type()
PKType::Type openvpn::MbedTLSPKI::PKContext::key_type |
( |
| ) |
const |
|
inline |
◆ parse()
void openvpn::MbedTLSPKI::PKContext::parse |
( |
const std::string & |
key_txt, |
|
|
const std::string & |
title, |
|
|
const std::string & |
priv_key_pwd, |
|
|
MbedTLSRandom & |
rand |
|
) |
| |
|
inline |
◆ render_pem()
std::string openvpn::MbedTLSPKI::PKContext::render_pem |
( |
| ) |
const |
|
inline |
◆ ctx
mbedtls_pk_context* openvpn::MbedTLSPKI::PKContext::ctx |
|
private |
The documentation for this class was generated from the following file: