#include <xkey.hpp>
Definition at line 28 of file xkey.hpp.
◆ OSSL_LIB_CTX_unique_ptr
◆ ~XKeyExternalPKIImpl()
openvpn::XKeyExternalPKIImpl::~XKeyExternalPKIImpl |
( |
| ) |
|
|
inline |
◆ XKeyExternalPKIImpl()
openvpn::XKeyExternalPKIImpl::XKeyExternalPKIImpl |
( |
ExternalPKIBase * |
external_pki, |
|
|
std::string |
alias |
|
) |
| |
|
inline |
◆ create()
static std::shared_ptr< XKeyExternalPKIImpl > openvpn::XKeyExternalPKIImpl::create |
( |
SSL_CTX * |
ssl_ctx, |
|
|
::X509 * |
cert, |
|
|
ExternalPKIBase * |
external_pki, |
|
|
std::string |
alias |
|
) |
| |
|
inlinestatic |
◆ load_xkey_provider()
void openvpn::XKeyExternalPKIImpl::load_xkey_provider |
( |
| ) |
|
|
inlineprivate |
◆ provider_load()
static int openvpn::XKeyExternalPKIImpl::provider_load |
( |
OSSL_PROVIDER * |
prov, |
|
|
void * |
dest_libctx |
|
) |
| |
|
inlinestaticprivate |
◆ provider_unload()
static int openvpn::XKeyExternalPKIImpl::provider_unload |
( |
OSSL_PROVIDER * |
prov, |
|
|
void * |
unused |
|
) |
| |
|
inlinestaticprivate |
◆ tls_ctx_use_external_key()
EVP_PKEY * openvpn::XKeyExternalPKIImpl::tls_ctx_use_external_key |
( |
::SSL_CTX * |
ctx, |
|
|
::X509 * |
cert |
|
) |
| |
|
inlineprivate |
◆ use_external_key()
void openvpn::XKeyExternalPKIImpl::use_external_key |
( |
SSL_CTX * |
ssl_ctx, |
|
|
::X509 * |
cert |
|
) |
| |
|
inline |
◆ xkey_free_cb()
static void openvpn::XKeyExternalPKIImpl::xkey_free_cb |
( |
void * |
this_ptr | ) |
|
|
inlinestaticprivate |
◆ xkey_logging_callback()
static void openvpn::XKeyExternalPKIImpl::xkey_logging_callback |
( |
const char * |
message, |
|
|
bool |
debug |
|
) |
| |
|
inlinestaticprivate |
◆ xkey_sign()
int openvpn::XKeyExternalPKIImpl::xkey_sign |
( |
unsigned char * |
sig, |
|
|
size_t * |
siglen, |
|
|
const unsigned char * |
tbs, |
|
|
size_t |
tbslen, |
|
|
XKEY_SIGALG |
alg |
|
) |
| |
|
inlineprivate |
Signature callback for xkey_provider
- Parameters
-
sig | On successful return signature is in sig. |
siglen | On entry *siglen has length of buffer sig, on successful return size of signature |
tbs | hash or message to be signed |
tbslen | len of data in dgst |
alg | extra signature parameters |
- Returns
- signature length or -1 on error.
Definition at line 198 of file xkey.hpp.
◆ xkey_sign_cb()
static int openvpn::XKeyExternalPKIImpl::xkey_sign_cb |
( |
void * |
this_ptr, |
|
|
unsigned char * |
sig, |
|
|
size_t * |
siglen, |
|
|
const unsigned char * |
tbs, |
|
|
size_t |
tbslen, |
|
|
XKEY_SIGALG |
alg |
|
) |
| |
|
inlinestaticprivate |
◆ alias
std::string openvpn::XKeyExternalPKIImpl::alias |
|
private |
◆ external_pki
◆ tls_libctx
The documentation for this class was generated from the following file: