|
QXmpp Version: 1.15.1
|
The QXmppOmemoDevice class represents a XEP-0384: OMEMO Encryption device. More...
Public Member Functions | |
| QXmppOmemoDevice () | |
| QXmppOmemoDevice (const QXmppOmemoDevice &other) | |
| Copy-constructor. | |
| QXmppOmemoDevice (QXmppOmemoDevice &&) noexcept | |
| Move-constructor. | |
| QXmppOmemoDevice & | operator= (const QXmppOmemoDevice &) |
| Assignment operator. | |
| QXmppOmemoDevice & | operator= (QXmppOmemoDevice &&) |
| Move-assignment operator. | |
| QString | jid () const |
| void | setJid (const QString &jid) |
| QString | label () const |
| void | setLabel (const QString &label) |
| QByteArray | keyId () const |
| void | setKeyId (const QByteArray &keyId) |
| QXmpp::TrustLevel | trustLevel () const |
| void | setTrustLevel (QXmpp::TrustLevel trustLevel) |
The QXmppOmemoDevice class represents a XEP-0384: OMEMO Encryption device.
| QXmppOmemoDevice::QXmppOmemoDevice | ( | ) |
Constructs an OMEMO device.
| QString QXmppOmemoDevice::jid | ( | ) | const |
Returns the device owner's bare JID.
| QByteArray QXmppOmemoDevice::keyId | ( | ) | const |
Returns the ID of the public long-term key which never changes.
| QString QXmppOmemoDevice::label | ( | ) | const |
Returns the human-readable string used to identify the device by users.
If no label is set, a default-constructed QString is returned.
| void QXmppOmemoDevice::setJid | ( | const QString & | jid | ) |
Sets the device owner's bare JID.
| jid | bare JID of the device owner |
| void QXmppOmemoDevice::setKeyId | ( | const QByteArray & | keyId | ) |
Sets the ID of the public long-term key which never changes.
| keyId | public long-term key ID |
| void QXmppOmemoDevice::setLabel | ( | const QString & | label | ) |
Sets an optional human-readable string used to identify the device by users.
The label should not contain more than 53 characters.
| label | label to identify the device |
| void QXmppOmemoDevice::setTrustLevel | ( | QXmpp::TrustLevel | trustLevel | ) |
Sets the trust level of the key.
| trustLevel | key's trust level |
| TrustLevel QXmppOmemoDevice::trustLevel | ( | ) | const |
Returns the trust level of the key.