OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ExternalPKIRsaImpl Class Reference

#include <extpki.hpp>

Inheritance diagram for openvpn::ExternalPKIRsaImpl:
[legend]
Collaboration diagram for openvpn::ExternalPKIRsaImpl:
[legend]

Public Member Functions

 ExternalPKIRsaImpl (SSL_CTX *ssl_ctx, ::X509 *cert, ExternalPKIBase *external_pki_arg, const std::string &alias)
 
 ~ExternalPKIRsaImpl () override=default
 
unsigned int get_n_errors () const
 
- Public Member Functions inherited from openvpn::ExternalPKIImpl
virtual ~ExternalPKIImpl ()=default
 

Static Private Member Functions

static int rsa_finish (RSA *rsa)
 
static int rsa_priv_enc (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 
static void not_implemented (RSA *rsa)
 
static int rsa_pub_enc (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 
static int rsa_pub_dec (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 
static int rsa_priv_dec (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
 

Private Attributes

ExternalPKIBaseexternal_pki
 
std::string alias
 
unsigned int n_errors
 

Detailed Description

Definition at line 28 of file extpki.hpp.

Constructor & Destructor Documentation

◆ ExternalPKIRsaImpl()

openvpn::ExternalPKIRsaImpl::ExternalPKIRsaImpl ( SSL_CTX *  ssl_ctx,
::X509 *  cert,
ExternalPKIBase external_pki_arg,
const std::string &  alias 
)
inline

Definition at line 31 of file extpki.hpp.

◆ ~ExternalPKIRsaImpl()

openvpn::ExternalPKIRsaImpl::~ExternalPKIRsaImpl ( )
overridedefault

Member Function Documentation

◆ get_n_errors()

unsigned int openvpn::ExternalPKIRsaImpl::get_n_errors ( ) const
inline

Definition at line 108 of file extpki.hpp.

◆ not_implemented()

static void openvpn::ExternalPKIRsaImpl::not_implemented ( RSA *  rsa)
inlinestaticprivate

Definition at line 174 of file extpki.hpp.

Here is the caller graph for this function:

◆ rsa_finish()

static int openvpn::ExternalPKIRsaImpl::rsa_finish ( RSA *  rsa)
inlinestaticprivate

Definition at line 115 of file extpki.hpp.

Here is the caller graph for this function:

◆ rsa_priv_dec()

static int openvpn::ExternalPKIRsaImpl::rsa_priv_dec ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA *  rsa,
int  padding 
)
inlinestaticprivate

Definition at line 198 of file extpki.hpp.

Here is the caller graph for this function:

◆ rsa_priv_enc()

static int openvpn::ExternalPKIRsaImpl::rsa_priv_enc ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA *  rsa,
int  padding 
)
inlinestaticprivate

Definition at line 123 of file extpki.hpp.

Here is the caller graph for this function:

◆ rsa_pub_dec()

static int openvpn::ExternalPKIRsaImpl::rsa_pub_dec ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA *  rsa,
int  padding 
)
inlinestaticprivate

Definition at line 190 of file extpki.hpp.

Here is the caller graph for this function:

◆ rsa_pub_enc()

static int openvpn::ExternalPKIRsaImpl::rsa_pub_enc ( int  flen,
const unsigned char *  from,
unsigned char *  to,
RSA *  rsa,
int  padding 
)
inlinestaticprivate

Definition at line 182 of file extpki.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ alias

std::string openvpn::ExternalPKIRsaImpl::alias
private

Definition at line 205 of file extpki.hpp.

◆ external_pki

ExternalPKIBase* openvpn::ExternalPKIRsaImpl::external_pki
private

Definition at line 204 of file extpki.hpp.

◆ n_errors

unsigned int openvpn::ExternalPKIRsaImpl::n_errors
private

Definition at line 206 of file extpki.hpp.


The documentation for this class was generated from the following file: