19#ifndef LIB_QUENTIER_UTILITY_ENCRYPTION_MANAGER_H
20#define LIB_QUENTIER_UTILITY_ENCRYPTION_MANAGER_H
22#include <quentier/types/ErrorString.h>
23#include <quentier/utility/Linkage.h>
31QT_FORWARD_DECLARE_CLASS(EncryptionManagerPrivate)
46 const QString & encryptedText,
const QString & passphrase,
47 const QString & cipher,
const size_t keyLength, QString & decryptedText,
51 const QString & textToEncrypt,
const QString & passphrase,
52 QString & cipher,
size_t & keyLength, QString & encryptedText,
57 QString text,
bool success,
ErrorString errorDescription,
61 QString encryptedText,
bool success,
ErrorString errorDescription,
65 void onDecryptTextRequest(
66 QString encryptedText, QString passphrase, QString cipher,
67 size_t keyLength, QUuid requestId);
69 void onEncryptTextRequest(
70 QString textToEncrypt, QString passphrase, QString cipher,
71 size_t keyLength, QUuid requestId);
74 EncryptionManagerPrivate *
const d_ptr;
The EncryptionManager class provides both synchronous methods to encrypt or decrypt given text with p...
Definition EncryptionManager.h:39
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition ErrorString.h:44