10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
LibcryptoKey.h
1
#ifndef TENDUKE_CRYPTO_LIBCRYPTO_LIBCRYPTOKEY_H
2
#define TENDUKE_CRYPTO_LIBCRYPTO_LIBCRYPTOKEY_H
3
4
#include <string>
5
6
#include <openssl/evp.h>
7
8
namespace
tenduke
{
namespace
crypto
{
namespace
libcrypto
{
9
10
14
class
LibcryptoKey
15
{
16
public
:
22
LibcryptoKey
(
23
EVP_PKEY *
key
,
24
std::string
type
25
);
26
virtual
~LibcryptoKey
();
27
28
public
:
33
EVP_PKEY *
getKey
()
const
{
return
key
;}
34
39
const
std::string&
getType
()
const
{
return
type
;}
40
41
protected
:
43
const
std::string
type
;
45
EVP_PKEY *
key
;
46
};
47
48
49
}}}
50
51
#endif
// TENDUKE_CRYPTO_LIBCRYPTO_LIBCRYPTOKEY_H
tenduke::crypto::libcrypto::LibcryptoKey::LibcryptoKey
LibcryptoKey(EVP_PKEY *key, std::string type)
Constructs new instance.
Definition
LibcryptoKey.cpp:8
tenduke::crypto::libcrypto::LibcryptoKey::getKey
EVP_PKEY * getKey() const
Returns the libcrypto-specific pointer to the key.
Definition
LibcryptoKey.h:33
tenduke::crypto::libcrypto::LibcryptoKey::key
EVP_PKEY * key
libcurl handle for the key.
Definition
LibcryptoKey.h:45
tenduke::crypto::libcrypto::LibcryptoKey::type
const std::string type
Type of the key.
Definition
LibcryptoKey.h:43
tenduke::crypto::libcrypto::LibcryptoKey::getType
const std::string & getType() const
Returns type of the key.
Definition
LibcryptoKey.h:39
tenduke::crypto::libcrypto
libcrypto based implementations of cryptography services.
Definition
AsymmetricMessageDigest.h:15
tenduke::crypto
Cryptography services.
Definition
AbstractCiphers.h:12
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
services
default
src
crypto
LibcryptoKey.h
Generated by
1.17.0