QXmppOmemoStorage::OwnDevice Struct

struct QXmppOmemoStorage::OwnDevice

Contains the data of this client instance's OMEMO device. More...

Public Variables

uint32_t id
QString label
uint32_t latestPreKeyId
uint32_t latestSignedPreKeyId
QByteArray privateIdentityKey
QByteArray publicIdentityKey

Detailed Description

Member Variable Documentation

uint32_t OwnDevice::id

ID used to identify a device and fetch its bundle

A valid ID must be at least 1 and at most std::numeric_limits<int32_t>::max().

QString OwnDevice::label

Human-readable string used to identify the device by users

The label should not contain more than 53 characters.

uint32_t OwnDevice::latestPreKeyId

ID of the latest pre key pair

A valid ID must be at least 1 and at most std::numeric_limits<int32_t>::max().

uint32_t OwnDevice::latestSignedPreKeyId

ID of the latest pre key pair whose public key is signed

A valid ID must be at least 1 and at most std::numeric_limits<int32_t>::max().

QByteArray OwnDevice::privateIdentityKey

Private long-term key which never changes

QByteArray OwnDevice::publicIdentityKey

Public long-term key which never changes