ImagingTools Core SDK
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
12namespace imtcrypt
13{
14
15
20class IEncryptionKeysProvider: virtual public istd::IChangeable
21{
22public:
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
virtual QByteArray GetEncryptionKey(KeyType type) const =0
Cryptography and Encryption Services Module.