|
QXmpp Version: 1.11.0
|
The QXmppOmemoOwnDevice class represents the XEP-0384: OMEMO Encryption device of this client instance. More...
Public Member Functions | |
| QXmppOmemoOwnDevice () | |
| QXmppOmemoOwnDevice (const QXmppOmemoOwnDevice &other) | |
| Copy-constructor. | |
| QXmppOmemoOwnDevice (QXmppOmemoOwnDevice &&) noexcept | |
| Move-constructor. | |
| QXmppOmemoOwnDevice & | operator= (const QXmppOmemoOwnDevice &) |
| Assignment operator. | |
| QXmppOmemoOwnDevice & | operator= (QXmppOmemoOwnDevice &&) |
| Move-assignment operator. | |
| QString | label () const |
| void | setLabel (const QString &label) |
| QByteArray | keyId () const |
| void | setKeyId (const QByteArray &keyId) |
The QXmppOmemoOwnDevice class represents the XEP-0384: OMEMO Encryption device of this client instance.
| QXmppOmemoOwnDevice::QXmppOmemoOwnDevice | ( | ) |
Constructs an OMEMO device for this client instance.
| QByteArray QXmppOmemoOwnDevice::keyId | ( | ) | const |
Returns the ID of the public long-term key which never changes.
| QString QXmppOmemoOwnDevice::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 QXmppOmemoOwnDevice::setKeyId | ( | const QByteArray & | keyId | ) |
Sets the ID of the public long-term key which never changes.
| keyId | public long-term key ID |
| void QXmppOmemoOwnDevice::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 |