ImagingTools Core SDK
IEncryptedFilePersistence.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 IEncryptedFilePersistence : virtual public ifile::IFilePersistence
21{
22public:
23
28 virtual ifile::IFilePersistence::OperationState LoadFromEncryptedFile(const QByteArray& key, const QString& filePath, istd::IChangeable& data) const = 0;
29};
30
31
32} //namespace imtcrypt
33
34
virtual ifile::IFilePersistence::OperationState LoadFromEncryptedFile(const QByteArray &key, const QString &filePath, istd::IChangeable &data) const =0
Cryptography and Encryption Services Module.