10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
WinCNG_utils.h
1
#ifndef TENDUKE_CRYPTO_WIN_CNG_WINCNG_UTILS_H
2
#define TENDUKE_CRYPTO_WIN_CNG_WINCNG_UTILS_H
3
4
#include "crypto/MessageDigest.h"
5
6
#include <windows.h>
7
#include <memory>
8
#include "utl/FixedSizeBinaryData.h"
9
10
11
namespace
tenduke
{
namespace
crypto
{
namespace
win {
namespace
cng {
12
13
std::string getBCryptErrorMessage(::DWORD statusCode);
14
std::string getNCryptErrorMessage(::LONG statusCode);
15
void
throwWinCNGException(::DWORD statusCode);
16
::LPCWSTR toPaddingAlgorithmId(
::tenduke::crypto::MessageDigest::Algorithm
algorithm);
17
18
std::unique_ptr<::tenduke::utl::FixedSizeBinaryData> base64ToBlob(
const
char
* keyAsPem);
19
20
}}}}
21
22
#endif
//TENDUKE_CRYPTO_WIN_CNG_WINCNG_UTILS_H
tenduke::crypto::MessageDigest::Algorithm
Algorithm
Supported algorithms.
Definition
MessageDigest.h:24
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
WinCNG_utils.h
Generated by
1.17.0