34 using QObject::QObject;
36 Q_INVOKABLE Error importKeys(QString data,
const QString& passphrase,
37 const Quotient::Connection* connection);
38 Q_INVOKABLE Quotient::Expected<QByteArray, Error> exportKeys(
const QString& passphrase,
const Quotient::Connection* connection);
40 friend class ::TestKeyImport;
42 Quotient::Expected<QJsonArray, Error> decrypt(QString data,
const QString& passphrase);
43 Quotient::Expected<QByteArray, Error> encrypt(QJsonArray sessions,
const QString& passphrase);