The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-0434: Trust Messages (TM).
More...
The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-0434: Trust Messages (TM).
- Since
- QXmpp 1.5
◆ QXmppTrustMessageKeyOwner()
| QXmppTrustMessageKeyOwner::QXmppTrustMessageKeyOwner |
( |
| ) |
|
Constructs a trust message key owner.
◆ distrustedKeys()
| QList< QByteArray > QXmppTrustMessageKeyOwner::distrustedKeys |
( |
| ) |
const |
Returns the IDs of the keys that are distrusted.
- Returns
- the IDs of distrusted keys
◆ isTrustMessageKeyOwner()
| bool QXmppTrustMessageKeyOwner::isTrustMessageKeyOwner |
( |
const QDomElement & |
element | ) |
|
|
static |
Determines whether the given DOM element is a trust message key owner.
- Parameters
-
| element | DOM element being checked |
- Returns
- true if element is a trust message key owner, otherwise false
◆ jid()
| QString QXmppTrustMessageKeyOwner::jid |
( |
| ) |
const |
Returns the bare JID of the key owner.
- Returns
- the key owner's bare JID
◆ setDistrustedKeys()
| void QXmppTrustMessageKeyOwner::setDistrustedKeys |
( |
const QList< QByteArray > & |
keyIds | ) |
|
Sets the IDs of keys that are distrusted.
- Parameters
-
| keyIds | IDs of distrusted keys |
◆ setJid()
| void QXmppTrustMessageKeyOwner::setJid |
( |
const QString & |
jid | ) |
|
Sets the bare JID of the key owner.
If a full JID is passed, it is converted into a bare JID.
- Parameters
-
◆ setTrustedKeys()
| void QXmppTrustMessageKeyOwner::setTrustedKeys |
( |
const QList< QByteArray > & |
keyIds | ) |
|
Sets the IDs of keys that are trusted.
- Parameters
-
| keyIds | IDs of trusted keys |
◆ trustedKeys()
| QList< QByteArray > QXmppTrustMessageKeyOwner::trustedKeys |
( |
| ) |
const |
Returns the IDs of the keys that are trusted.
- Returns
- the IDs of trusted keys
The documentation for this class was generated from the following files: