|
| QXmppAtmManager (QXmppAtmTrustStorage *trustStorage) |
|
QXmppTask< void > | makeTrustDecisions (const QString &encryption, const QString &keyOwnerJid, const QList< QByteArray > &keyIdsForAuthentication, const QList< QByteArray > &keyIdsForDistrusting={}) |
|
| QXmppTrustManager (QXmppTrustStorage *trustStorage) |
|
QXmppTask< void > | setSecurityPolicy (const QString &encryption, QXmpp::TrustSecurityPolicy securityPolicy) |
|
QXmppTask< void > | resetSecurityPolicy (const QString &encryption) |
|
QXmppTask< QXmpp::TrustSecurityPolicy > | securityPolicy (const QString &encryption) |
|
QXmppTask< void > | setOwnKey (const QString &encryption, const QByteArray &keyId) |
|
QXmppTask< void > | resetOwnKey (const QString &encryption) |
|
QXmppTask< QByteArray > | ownKey (const QString &encryption) |
|
QXmppTask< void > | addKeys (const QString &encryption, const QString &keyOwnerJid, const QList< QByteArray > &keyIds, QXmpp::TrustLevel trustLevel=QXmpp::TrustLevel::AutomaticallyDistrusted) |
|
QXmppTask< void > | removeKeys (const QString &encryption, const QList< QByteArray > &keyIds) |
|
QXmppTask< void > | removeKeys (const QString &encryption, const QString &keyOwnerJid) |
|
QXmppTask< void > | removeKeys (const QString &encryption) |
|
QXmppTask< QHash< QXmpp::TrustLevel, QMultiHash< QString, QByteArray > > > | keys (const QString &encryption, QXmpp::TrustLevels trustLevels={}) |
|
QXmppTask< QHash< QString, QHash< QByteArray, QXmpp::TrustLevel > > > | keys (const QString &encryption, const QList< QString > &keyOwnerJids, QXmpp::TrustLevels trustLevels={}) |
|
QXmppTask< bool > | hasKey (const QString &encryption, const QString &keyOwnerJid, QXmpp::TrustLevels trustLevels) |
|
QXmppTask< void > | setTrustLevel (const QString &encryption, const QMultiHash< QString, QByteArray > &keyIds, QXmpp::TrustLevel trustLevel) |
|
QXmppTask< void > | setTrustLevel (const QString &encryption, const QList< QString > &keyOwnerJids, QXmpp::TrustLevel oldTrustLevel, QXmpp::TrustLevel newTrustLevel) |
|
QXmppTask< QXmpp::TrustLevel > | trustLevel (const QString &encryption, const QString &keyOwnerJid, const QByteArray &keyId) |
|
QXmppTask< void > | resetAll (const QString &encryption) |
|
Q_SIGNAL void | trustLevelsChanged (const QHash< QString, QMultiHash< QString, QByteArray > > &modifiedKeys) |
|
| QXmppClientExtension () |
|
virtual QStringList | discoveryFeatures () const |
|
virtual QList< QXmppDiscoveryIq::Identity > | discoveryIdentities () const |
|
virtual bool | handleStanza (const QDomElement &stanza) |
| You need to implement this method to process incoming XMPP stanzas. More...
|
|
virtual bool | handleStanza (const QDomElement &stanza, const std::optional< QXmppE2eeMetadata > &e2eeMetadata) |
| You need to implement this method to process incoming XMPP stanzas. More...
|
|
| QXmppLoggable (QObject *parent=nullptr) |
|
|
QXmppTask< void > | makeTrustDecisions (const QString &encryption, const QMultiHash< QString, QByteArray > &keyIdsForAuthentication, const QMultiHash< QString, QByteArray > &keyIdsForDistrusting) |
|
QXmppTask< void > | handleMessage (const QXmppMessage &message) |
|
QXmppTask< void > | authenticate (const QString &encryption, const QMultiHash< QString, QByteArray > &keyIds) |
|
QXmppTask< void > | distrust (const QString &encryption, const QMultiHash< QString, QByteArray > &keyIds) |
|
QXmppTask< void > | distrustAutomaticallyTrustedKeys (const QString &encryption, const QList< QString > &keyOwnerJids) |
|
QXmppTask< void > | makePostponedTrustDecisions (const QString &encryption, const QList< QByteArray > &senderKeyIds) |
|
QXmppTask< QXmpp::SendResult > | sendTrustMessage (const QString &encryption, const QList< QXmppTrustMessageKeyOwner > &keyOwners, const QString &recipientJid) |
|
QXmppClient * | client () const |
|
virtual void | setClient (QXmppClient *client) |
|
virtual void | onRegistered (QXmppClient *client) |
|
virtual void | onUnregistered (QXmppClient *client) |
|
void | injectIq (const QDomElement &element, const std::optional< QXmppE2eeMetadata > &e2eeMetadata) |
|
bool | injectMessage (QXmppMessage &&message) |
|
void | debug (const QString &message) |
|
void | info (const QString &message) |
|
void | warning (const QString &message) |
|
void | logReceived (const QString &message) |
|
void | logSent (const QString &message) |
|
The QXmppAtmManager class represents a manager for XEP-0450: Automatic Trust Management (ATM).
For interacting with the storage, a corresponding implementation of the storage interface must be added. That implementation has to be adapted to your storage such as a database. In case you only need memory and no peristent storage, you can use the existing implementation and add the storage with it:
The QXmppAtmManager class represents a manager for XEP-0450: Automatic Trust Management (ATM).
Definition: QXmppAtmManager.h:18
QXmppAtmManager(QXmppAtmTrustStorage *trustStorage)
Definition: QXmppAtmManager.cpp:66
The QXmppAtmTrustMemoryStorage class stores trust data for XEP-0450: Automatic Trust Management (ATM)...
Definition: QXmppAtmTrustMemoryStorage.h:14
The QXmppAtmTrustStorage class stores trust data for XEP-0450: Automatic Trust Management (ATM).
Definition: QXmppAtmTrustStorage.h:15
QXmppClient * client() const
Definition: QXmppClientExtension.cpp:57
bool addExtension(QXmppClientExtension *extension)
Registers a new extension with the client.
Definition: QXmppClient.cpp:376
It is strongly recommended to enable XEP-0280: Message Carbons with
The QXmppCarbonManager class handles message carbons as described in XEP-0280: Message Carbons.
Definition: QXmppCarbonManager.h:26
void setCarbonsEnabled(bool enabled)
Definition: QXmppCarbonManager.cpp:46
and XEP-0313: Message Archive Management with
The QXmppMamManager class makes it possible to access message archives as defined by XEP-0313: Messag...
Definition: QXmppMamManager.h:39
for delivering trust messages to all online and offline endpoints.
In addition, archiving via MAM must be enabled on the server.
- Warning
- THIS API IS NOT FINALIZED YET!
- Since
- QXmpp 1.5