10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
NCryptProvider.h
1
#ifndef TENDUKE_CRYPT_WIN_CNG_NCRYPTPROVIDER_H
2
#define TENDUKE_CRYPT_WIN_CNG_NCRYPTPROVIDER_H
3
4
#include <windows.h>
5
6
#include "./NCryptHandle.h"
7
#include "./NCryptKey.h"
8
9
#include <memory>
10
11
namespace
tenduke
{
namespace
crypto
{
namespace
win {
namespace
cng {
12
13
class
NCryptProvider :
public
::tenduke::crypto::win::cng::NCryptHandle
<::NCRYPT_PROV_HANDLE>
14
{
15
public
:
16
explicit
NCryptProvider(
const
LPCWSTR providerName);
17
18
std::unique_ptr<::tenduke::crypto::win::cng::NCryptKey> importKeyFromPEM(
19
const
char
* pem,
20
LPCWSTR blobType,
21
::DWORD flags
22
)
const
;
23
};
24
25
26
}}}}
27
28
#endif
//TENDUKE_CRYPT_WIN_CNG_NCRYPTPROVIDER_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
NCryptProvider.h
Generated by
1.13.2