From 4c565dd7dd78340a393ccbf4bc3bed9f6ce360f2 Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Tue, 19 Apr 2022 20:05:16 +0200 Subject: Add QXmppTrustManager as base of trust managers such as QXmppAtmManager --- src/client/QXmppTrustStorage.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/client/QXmppTrustStorage.cpp') diff --git a/src/client/QXmppTrustStorage.cpp b/src/client/QXmppTrustStorage.cpp index 5cfe5b95..18637fab 100644 --- a/src/client/QXmppTrustStorage.cpp +++ b/src/client/QXmppTrustStorage.cpp @@ -5,8 +5,7 @@ /// /// \class QXmppTrustStorage /// -/// \brief The QXmppTrustStorage class stores trust data for end-to-end -/// encryption. +/// \brief The QXmppTrustStorage class stores end-to-end encryption trust data. /// /// The term "key" is used for a public long-term key. /// @@ -73,7 +72,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, QXmppTrustStorage::TrustLevel trustLevel) /// /// Adds keys. /// @@ -163,6 +162,9 @@ /// \param keyIds key owners' bare JIDs mapped to the IDs of their keys /// \param trustLevel trust level being set /// +/// \return the key owner JIDs mapped to their modified keys for specific +/// encryption protocols +/// /// /// \fn QXmppTrustStorage::setTrustLevel(const QString &encryption, const QList &keyOwnerJids, TrustLevel oldTrustLevel, TrustLevel newTrustLevel) @@ -174,6 +176,9 @@ /// \param oldTrustLevel trust level being changed /// \param newTrustLevel trust level being set /// +/// \return the key owner JIDs mapped to their modified keys for specific +/// encryption protocols +/// /// /// \fn QXmppTrustStorage::trustLevel(const QString &encryption, const QString &keyOwnerJid, const QByteArray &keyId) -- cgit v1.2.3