#include <extpki.hpp>
|
| void | do_sign (const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int &siglen) |
| |
|
| static void | ec_finish (EC_KEY *ec) |
| |
| static int | ecdsa_sign (int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) |
| |
| static int | ecdsa_sign_setup (EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) |
| |
| static ECDSA_SIG * | ecdsa_sign_sig (const unsigned char *dgst, int dgstlen, const BIGNUM *kinvp, const BIGNUM *rp, EC_KEY *eckey) |
| |
Definition at line 211 of file extpki.hpp.
◆ ExternalPKIECImpl()
| openvpn::ExternalPKIECImpl::ExternalPKIECImpl |
( |
SSL_CTX * |
ssl_ctx, |
|
|
::X509 * |
cert, |
|
|
ExternalPKIBase * |
external_pki_arg, |
|
|
const std::string & |
alias |
|
) |
| |
|
inline |
◆ ~ExternalPKIECImpl()
| openvpn::ExternalPKIECImpl::~ExternalPKIECImpl |
( |
| ) |
|
|
overridedefault |
◆ do_sign()
| void openvpn::ExternalPKIECImpl::do_sign |
( |
const unsigned char * |
dgst, |
|
|
int |
dlen, |
|
|
unsigned char * |
sig, |
|
|
unsigned int & |
siglen |
|
) |
| |
|
inlineprivate |
Sign the input via external pki callback
- Parameters
-
| dgst | digest to be signed |
| dlen | length of the digest to be signed |
| sig | buffer backing the signature |
| siglen | maximum size for the signature, and length of the signature returned in sig |
Definition at line 379 of file extpki.hpp.
◆ ec_finish()
| static void openvpn::ExternalPKIECImpl::ec_finish |
( |
EC_KEY * |
ec | ) |
|
|
inlinestaticprivate |
◆ ecdsa_sign()
| static int openvpn::ExternalPKIECImpl::ecdsa_sign |
( |
int |
type, |
|
|
const unsigned char * |
dgst, |
|
|
int |
dlen, |
|
|
unsigned char * |
sig, |
|
|
unsigned int * |
siglen, |
|
|
const BIGNUM * |
kinv, |
|
|
const BIGNUM * |
r, |
|
|
EC_KEY * |
eckey |
|
) |
| |
|
inlinestaticprivate |
◆ ecdsa_sign_setup()
| static int openvpn::ExternalPKIECImpl::ecdsa_sign_setup |
( |
EC_KEY * |
eckey, |
|
|
BN_CTX * |
ctx_in, |
|
|
BIGNUM ** |
kinvp, |
|
|
BIGNUM ** |
rp |
|
) |
| |
|
inlinestaticprivate |
◆ ecdsa_sign_sig()
| static ECDSA_SIG * openvpn::ExternalPKIECImpl::ecdsa_sign_sig |
( |
const unsigned char * |
dgst, |
|
|
int |
dgstlen, |
|
|
const BIGNUM * |
kinvp, |
|
|
const BIGNUM * |
rp, |
|
|
EC_KEY * |
eckey |
|
) |
| |
|
inlinestaticprivate |
◆ init_static()
| static void openvpn::ExternalPKIECImpl::init_static |
( |
| ) |
|
|
inlinestatic |
◆ alias
| std::string openvpn::ExternalPKIECImpl::alias |
|
private |
◆ ec_self_data_index
| int openvpn::ExternalPKIECImpl::ec_self_data_index = -1 |
|
inlinestaticprivate |
◆ external_pki
The documentation for this class was generated from the following file: