QXmppOmemoStorage::Device Struct

struct QXmppOmemoStorage::Device

Contains the data of another OMEMO device. More...

Public Variables

Detailed Description

That includes another own device (i.e., not this client instance's one) or a contact's device.

Member Variable Documentation

QByteArray Device::keyId

ID of the public long-term key which never changes

QString Device::label

Human-readable string used to identify the device by users

QDateTime Device::removalFromDeviceListDate

Date when the device was removed from the owner's device list

It can be used to stop encrypting when a device is not used anymore.

QByteArray Device::session

Session data which is only used internally by the OMEMO library

int Device::unrespondedReceivedStanzasCount

Count of stanzas received from the device without sending a response

It can be used to send an empty response (heartbeat message) in order to maintain a secure communication.

int Device::unrespondedSentStanzasCount

Count of stanzas sent to the device without receiving a response

It can be used to stop encryption in order to maintain a secure communication.