10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
WinCNGAESKey.h
1
#ifndef TENDUKE_CRYPTO_WIN_CNG_AES_WINCNGAESKEY_H
2
#define TENDUKE_CRYPTO_WIN_CNG_AES_WINCNGAESKEY_H
3
4
#include "crypto/symmetric/aes/AESSecretKey.h"
5
#include "utl/DataSpan.h"
6
7
#include <memory>
8
9
namespace
tenduke
{
namespace
crypto
{
namespace
win {
namespace
cng {
10
14
class
WinCNGAESKey :
public
virtual
::tenduke::crypto::aes::AESSecretKey
15
{
16
public
:
17
explicit
WinCNGAESKey(std::unique_ptr<::tenduke::utl::DataSpan> key)
18
: AESSecretKey(std::move(key))
19
{
20
}
21
22
std::unique_ptr<::tenduke::crypto::aes::AESGCMCipher>
gcmCipher
()
const override
;
23
};
24
25
}}}}
26
27
#endif
//TENDUKE_CRYPTO_WIN_CNG_AES_WINCNGAESKEY_H
tenduke::crypto::aes::AESSecretKey
Definition
AESSecretKey.h:14
tenduke::crypto::win::cng::WinCNGAESKey::gcmCipher
std::unique_ptr<::tenduke::crypto::aes::AESGCMCipher > gcmCipher() const override
Returns AES-GCM cipher, which uses this key for operations.
Definition
WinCNGAESKey.cpp:6
tenduke::crypto
Cryptography services.
Definition
AbstractCiphers.h:18
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
services
windows
src
crypto
symmetric
aes
WinCNGAESKey.h
Generated by
1.17.0