diff options
Diffstat (limited to 'src/client/QXmppE2eeExtension.cpp')
| -rw-r--r-- | src/client/QXmppE2eeExtension.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/client/QXmppE2eeExtension.cpp b/src/client/QXmppE2eeExtension.cpp index 9e98a566..52cebb48 100644 --- a/src/client/QXmppE2eeExtension.cpp +++ b/src/client/QXmppE2eeExtension.cpp @@ -28,6 +28,12 @@ /// /// +/// \typedef QXmppE2eeExtension::MessageDecryptResult +/// +/// Contains the decrypted QXmppMessage, NotEncrypted or an QXmppError. +/// + +/// /// \typedef QXmppE2eeExtension::IqEncryptResult /// /// Contains the XML serialized IQ stanza with encrypted contents or a @@ -53,6 +59,13 @@ /// /// +/// \fn QXmppE2eeExtension::decryptMessage +/// +/// Decrypts a QXmppMessage and returns the decrypted QXmppMessage. In case the message was not +/// encrypted, QXmppE2eeExtension::NotEncrypted should be returned. +/// + +/// /// \fn QXmppE2eeExtension::encryptIq /// /// Encrypts a QXmppIq and returns the serialized XML stanza with encrypted @@ -70,3 +83,15 @@ /// element via QFuture. If the input was not encrypted, /// QXmppE2eeExtension::NotEncrypted should be returned. /// + +/// +/// \fn QXmppE2eeExtension::isEncrypted(const QDomElement &) +/// +/// Returns whether the DOM element of an IQ or message stanza is encrypted with this encryption. +/// + +/// +/// \fn QXmppE2eeExtension::isEncrypted(const QXmppMessage &) +/// +/// Returns whether the message is encrypted with this encryption. +/// |
