|
QXmpp Version: 1.15.1
|
The QXmppTrustMessageElement class represents a trust message element as defined by XEP-0434: Trust Messages (TM). More...
Public Member Functions | |
| QXmppTrustMessageElement () | |
| QXmppTrustMessageElement (const QXmppTrustMessageElement &other) | |
| Copy-constructor. | |
| QXmppTrustMessageElement (QXmppTrustMessageElement &&) | |
| Move-constructor. | |
| QXmppTrustMessageElement & | operator= (const QXmppTrustMessageElement &other) |
| Assignment operator. | |
| QXmppTrustMessageElement & | operator= (QXmppTrustMessageElement &&) |
| Move-assignment operator. | |
| QString | usage () const |
| void | setUsage (const QString &usage) |
| QString | encryption () const |
| void | setEncryption (const QString &encryption) |
| QList< QXmppTrustMessageKeyOwner > | keyOwners () const |
| void | setKeyOwners (const QList< QXmppTrustMessageKeyOwner > &keyOwners) |
| void | addKeyOwner (const QXmppTrustMessageKeyOwner &keyOwner) |
Static Public Member Functions | |
| static bool | isTrustMessageElement (const QDomElement &element) |
The QXmppTrustMessageElement class represents a trust message element as defined by XEP-0434: Trust Messages (TM).
| QXmppTrustMessageElement::QXmppTrustMessageElement | ( | ) |
Constructs a trust message element.
| void QXmppTrustMessageElement::addKeyOwner | ( | const QXmppTrustMessageKeyOwner & | keyOwner | ) |
Adds a key owner containing the corresponding information for trusting or distrusting the owners keys.
| keyOwner | owner of the keys for trusting or distrusting |
| QString QXmppTrustMessageElement::encryption | ( | ) | const |
Returns the namespace of the keys' encryption protocol.
|
static |
Determines whether the given DOM element is a trust message element.
| element | DOM element being checked |
| QList< QXmppTrustMessageKeyOwner > QXmppTrustMessageElement::keyOwners | ( | ) | const |
Returns the key owners containing the corresponding information for trusting or distrusting their keys.
| void QXmppTrustMessageElement::setEncryption | ( | const QString & | encryption | ) |
Sets the namespace of the keys' encryption protocol.
| encryption | encryption protocol namespace |
| void QXmppTrustMessageElement::setKeyOwners | ( | const QList< QXmppTrustMessageKeyOwner > & | keyOwners | ) |
Sets the key owners containing the corresponding information for trusting or distrusting their keys.
| keyOwners | owners of the keys for trusting or distrusting |
| void QXmppTrustMessageElement::setUsage | ( | const QString & | usage | ) |
Sets the namespace of the trust management protocol.
| usage | trust management protocol namespace |
| QString QXmppTrustMessageElement::usage | ( | ) | const |
Returns the namespace of the trust management protocol.