aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptedfile.h
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-03-08 00:06:36 +0100
committerTobias Fella <fella@posteo.de>2022-05-16 20:47:17 +0200
commitefa450920e5fc338e771e653ca0889e948d04ee7 (patch)
tree215efb53d0e06ed660a97593d56ffb4868dbc2e2 /lib/events/encryptedfile.h
parent6f5ac9b7315d75692960e5eac7b1eb6867c0d203 (diff)
downloadlibquotient-efa450920e5fc338e771e653ca0889e948d04ee7.tar.gz
libquotient-efa450920e5fc338e771e653ca0889e948d04ee7.zip
Implement sending encrypted files
Diffstat (limited to 'lib/events/encryptedfile.h')
-rw-r--r--lib/events/encryptedfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/events/encryptedfile.h b/lib/events/encryptedfile.h
index d0c4a030..2ce35086 100644
--- a/lib/events/encryptedfile.h
+++ b/lib/events/encryptedfile.h
@@ -46,6 +46,7 @@ public:
QString v;
QByteArray decryptFile(const QByteArray &ciphertext) const;
+ static std::pair<EncryptedFile, QByteArray> encryptFile(const QByteArray &plainText);
};
template <>