10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
NCryptKey.h
1
#ifndef TENDUKE_CRYPT_WIN_CNG_NCRYPTKEY_H
2
#define TENDUKE_CRYPT_WIN_CNG_NCRYPTKEY_H
3
4
#include "./NCryptHandle.h"
5
6
#include "utl/FixedSizeBinaryData.h"
7
#include <memory>
8
9
namespace
tenduke
{
namespace
crypto
{
namespace
win {
namespace
cng {
10
11
class
NCryptKey :
public
::tenduke::crypto::win::cng::NCryptHandle
<::NCRYPT_KEY_HANDLE>
12
{
13
public
:
14
explicit
NCryptKey(const ::NCRYPT_KEY_HANDLE handle);
15
16
std::unique_ptr<::tenduke::utl::FixedSizeBinaryData> exportKey(
const
LPCWSTR blobType)
const
;
17
void
finalize()
const
;
18
void
setExportPolicy(const ::DWORD exportPolicy)
const
;
19
};
20
21
22
}}}}
23
24
#endif
//TENDUKE_CRYPT_WIN_CNG_NCRYPTKEY_H
tenduke::crypto::win::cng::NCryptHandle
Definition
NCryptHandle.h:13
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
ncrypt
NCryptKey.h
Generated by
1.13.2