From e4970a79535dd5cfff2d010049cf39b644a87850 Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Thu, 7 Oct 2021 16:35:50 +0200 Subject: Update to OMEMO 0.8, TM 0.6 and ATM 0.4 * OMEMO has namespace 'urn:xmpp:omemo:2' and uses SCE 0.4 now * TM has namespace 'urn:xmpp:tm:1' and uses Base64 for key identifiers * ATM uses Base64 for key identifiers --- src/client/QXmppTrustStorage.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/client/QXmppTrustStorage.cpp') diff --git a/src/client/QXmppTrustStorage.cpp b/src/client/QXmppTrustStorage.cpp index 51ebea82..369470a4 100644 --- a/src/client/QXmppTrustStorage.cpp +++ b/src/client/QXmppTrustStorage.cpp @@ -57,7 +57,7 @@ /// /// -/// \fn QXmppTrustStorage::addOwnKey(const QString &encryption, const QString &keyId) +/// \fn QXmppTrustStorage::addOwnKey(const QString &encryption, const QByteArray &keyId) /// /// Adds an own key (i.e., the key used by this client instance). /// @@ -84,7 +84,7 @@ /// /// -/// \fn QXmppTrustStorage::addKeys(const QString &encryption, const QString &keyOwnerJid, const QList &keyIds, const QXmppTrustStorage::TrustLevel trustLevel) +/// \fn QXmppTrustStorage::addKeys(const QString &encryption, const QString &keyOwnerJid, const QList &keyIds, const QXmppTrustStorage::TrustLevel trustLevel) /// /// Adds keys. /// @@ -95,7 +95,7 @@ /// /// -/// \fn QXmppTrustStorage::removeKeys(const QString &encryption, const QList &keyIds) +/// \fn QXmppTrustStorage::removeKeys(const QString &encryption, const QList &keyIds) /// /// Removes keys. /// @@ -121,7 +121,7 @@ /// /// -/// \fn QXmppTrustStorage::setTrustLevel(const QString &encryption, const QMultiHash &keyIds, TrustLevel trustLevel) +/// \fn QXmppTrustStorage::setTrustLevel(const QString &encryption, const QMultiHash &keyIds, TrustLevel trustLevel) /// /// Sets the trust level of keys. /// @@ -144,7 +144,7 @@ /// /// -/// \fn QXmppTrustStorage::trustLevel(const QString &encryption, const QString &keyId) +/// \fn QXmppTrustStorage::trustLevel(const QString &encryption, const QByteArray &keyId) /// /// Returns the trust level of a key. /// @@ -157,7 +157,7 @@ /// /// -/// \fn QXmppTrustStorage::addKeysForPostponedTrustDecisions(const QString &encryption, const QString &senderKeyId, const QList &keyOwners) +/// \fn QXmppTrustStorage::addKeysForPostponedTrustDecisions(const QString &encryption, const QByteArray &senderKeyId, const QList &keyOwners) /// /// Adds keys that cannot be authenticated or distrusted directly because the /// key of the trust message's sender is not yet authenticated. @@ -181,7 +181,7 @@ /// /// -/// \fn QXmppTrustStorage::removeKeysForPostponedTrustDecisions(const QString &encryption, const QList &keyIdsForAuthentication, const QList &keyIdsForDistrusting) +/// \fn QXmppTrustStorage::removeKeysForPostponedTrustDecisions(const QString &encryption, const QList &keyIdsForAuthentication, const QList &keyIdsForDistrusting) /// /// Removes keys for postponed authentication or distrusting. /// @@ -191,7 +191,7 @@ /// /// -/// \fn QXmppTrustStorage::removeKeysForPostponedTrustDecisions(const QString &encryption = {}, const QList &senderKeyIds = {}) +/// \fn QXmppTrustStorage::removeKeysForPostponedTrustDecisions(const QString &encryption = {}, const QList &senderKeyIds = {}) /// /// Removes keys for postponed authentication or distrusting by the trust /// message's sender's key ID. @@ -204,7 +204,7 @@ /// /// -/// \fn QXmppTrustStorage::keysForPostponedTrustDecisions(const QString &encryption, const QList &senderKeyIds = {}) +/// \fn QXmppTrustStorage::keysForPostponedTrustDecisions(const QString &encryption, const QList &senderKeyIds = {}) /// /// Returns the JIDs of key owners mapped to the IDs of their keys stored for /// postponed authentication (true) or postponed distrusting (false). -- cgit v1.2.3