10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
BCryptProvider.h
1
#ifndef TENDUKE_CRYPTO_WIN_CNG_BCRYPTPROVIDER_H
2
#define TENDUKE_CRYPTO_WIN_CNG_BCRYPTPROVIDER_H
3
4
#include "./BCryptKey.h"
5
#include "utl/BinaryData.h"
6
7
#include <windows.h>
8
#include <memory>
9
10
namespace
tenduke
{
namespace
crypto
{
namespace
win {
namespace
cng {
11
12
class
BCryptProvider
13
{
14
public
:
15
explicit
BCryptProvider(LPCWSTR algorithmName);
16
17
virtual
~BCryptProvider();
18
19
std::unique_ptr<::tenduke::crypto::win::cng::BCryptKey> importKeyPair(
20
const ::tenduke::utl::BinaryData &keyBlob,
21
LPCWSTR blobType
22
);
23
24
BCRYPT_ALG_HANDLE getHandle()
const
;
25
26
private
:
27
BCRYPT_ALG_HANDLE handle;
28
};
29
30
}}}}
31
32
#endif
//TENDUKE_CRYPTO_WIN_CNG_BCRYPTPROVIDER_H
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
windows
src
crypto
bcrypt
BCryptProvider.h
Generated by
1.17.0