10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
WinCNGKey.h
1
#ifndef TENDUKE_CRYPTO_WIN_CNG_WINCNGKEY_H
2
#define TENDUKE_CRYPTO_WIN_CNG_WINCNGKEY_H
3
4
#include "./bcrypt/BCryptKey.h"
5
#include <memory>
6
7
namespace
tenduke
{
namespace
crypto
{
namespace
win {
namespace
cng {
8
9
class
WinCNGKey
10
{
11
public
:
12
explicit
WinCNGKey(std::unique_ptr<::tenduke::crypto::win::cng::BCryptKey> key) : key(std::move(key))
13
{ };;
14
15
::BCRYPT_KEY_HANDLE getHandle()
const
16
{
17
return
key->getHandle();
18
};
19
20
private
:
21
std::unique_ptr<::tenduke::crypto::win::cng::BCryptKey> key;
22
};
23
24
}}}}
25
26
#endif
//TENDUKE_CRYPTO_WIN_CNG_WINCNGKEY_H
tenduke::crypto
Cryptography services.
Definition
CryptoException.h:7
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
services
windows
src
crypto
WinCNGKey.h
Generated by
1.13.2