diff options
author | Alexey Andreyev <aa13q@ya.ru> | 2019-08-23 17:10:01 +0300 |
---|---|---|
committer | Alexey Andreev <aa13q@ya.ru> | 2020-02-25 17:32:29 +0300 |
commit | 3c293b287466e8de188fc62e73efc4730ab4dd31 (patch) | |
tree | 267df89d990b175e144dc58f1cb5dcc922c50764 /lib/encryptionmanager.h | |
parent | f341e4a3c60cf4a6f6f4c986f8fe68c82feba1dd (diff) | |
download | libquotient-3c293b287466e8de188fc62e73efc4730ab4dd31.tar.gz libquotient-3c293b287466e8de188fc62e73efc4730ab4dd31.zip |
E2EE: fix olm session decrypt, move to EncryptionManager
Signed-off-by: Alexey Andreev <aa13q@ya.ru>
Diffstat (limited to 'lib/encryptionmanager.h')
-rw-r--r-- | lib/encryptionmanager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/encryptionmanager.h b/lib/encryptionmanager.h index b210a85a..8f346d37 100644 --- a/lib/encryptionmanager.h +++ b/lib/encryptionmanager.h @@ -26,6 +26,13 @@ public: void uploadIdentityKeys(Connection* connection); void uploadOneTimeKeys(Connection* connection, bool forceUpdate = false); + void + updateOneTimeKeyCounts(Connection* connection, + const QHash<QString, int>& deviceOneTimeKeysCount); + void updateDeviceKeys(Connection* connection, + const QHash<QString, QStringList>& deviceKeys); + QString sessionDecryptMessage(const QJsonObject& personalCipherObject, + const QByteArray& senderKey); QByteArray olmAccountPickle(); QtOlm::Account* account() const; |