10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::crypto::libcrypto::LibcryptoKey Class Reference

#include <LibcryptoKey.h>

Detailed Description

Libcrypto-implementation of a public key definition.

Inheritance diagram for tenduke::crypto::libcrypto::LibcryptoKey:
tenduke::crypto::libcrypto::LibcryptoPrivateKey tenduke::crypto::libcrypto::LibcryptoPublicKey

Public Member Functions

 LibcryptoKey (EVP_PKEY *key, std::string type)
 Constructs new instance.
 
EVP_PKEY * getKey () const
 Returns the libcrypto-specific pointer to the key.
 
const std::string & getType () const
 Returns type of the key.
 

Protected Attributes

const std::string type
 Type of the key.
 
EVP_PKEY * key
 libcurl handle for the key.
 

Constructor & Destructor Documentation

◆ LibcryptoKey()

tenduke::crypto::libcrypto::LibcryptoKey::LibcryptoKey ( EVP_PKEY *  key,
std::string  type 
)

Constructs new instance.

Parameters
keythe libcrypto handle
typetype of the key

Member Function Documentation

◆ getKey()

EVP_PKEY * tenduke::crypto::libcrypto::LibcryptoKey::getKey ( ) const
inline

Returns the libcrypto-specific pointer to the key.

Returns
-

◆ getType()

const std::string & tenduke::crypto::libcrypto::LibcryptoKey::getType ( ) const
inline

Returns type of the key.

Returns
-

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