ImagingTools Core SDK
Main Page
Related Pages
Topics
Namespaces
Classes
Examples
ImtCore
Include
imtcrypt
IEncryptionKeysProvider.h
1
// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2
#pragma once
3
4
5
// Qt includes
6
#include <QtCore/QByteArray>
7
8
// ACF includes
9
#include <istd/IChangeable.h>
10
11
12
namespace
imtcrypt
13
{
14
15
20
class
IEncryptionKeysProvider
:
virtual
public
istd::IChangeable
21
{
22
public
:
23
enum
KeyType
24
{
25
KT_PUBLIC,
26
KT_PRIVATE,
27
KT_PASSWORD,
28
KT_INIT_VECTOR
29
};
30
35
virtual
QByteArray
GetEncryptionKey
(KeyType type)
const
= 0;
36
};
37
38
39
}
//namespace imtcrypt
40
41
imtcrypt::IEncryptionKeysProvider
Definition
IEncryptionKeysProvider.h:21
imtcrypt::IEncryptionKeysProvider::GetEncryptionKey
virtual QByteArray GetEncryptionKey(KeyType type) const =0
imtcrypt
Cryptography and Encryption Services Module.
Definition
CAesEncryption.h:13
Generated by
1.9.8