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
9namespace tenduke { namespace crypto { namespace win { namespace cng {
10
11class NCryptKey : public ::tenduke::crypto::win::cng::NCryptHandle<::NCRYPT_KEY_HANDLE>
12{
13public:
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
Definition NCryptHandle.h:13
Cryptography services.
Definition CryptoException.h:7
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4