Expand description
XEP-0380: OMEMO Encryption (experimental version 0.3.0)
Structs§
- Bundle
- A collection of publicly accessible data that can be used to build a session with a device, namely its public IdentityKey, a signed PreKey with corresponding signature, and a list of (single use) PreKeys.
- Device
- Element of the device list
- Device
List - A user’s device list contains the OMEMO device ids of all the user’s devicse. These can be used to look up bundles and build a session.
- Encrypted
- An OMEMO element, which can be either a MessageElement (with payload), or a KeyTransportElement (without payload).
- Header
- The header contains encrypted keys for a message
- IV
- IV used for payload encryption
- Identity
Key - Part of a device’s bundle
- Key
- Part of the OMEMO element header
- Payload
- The encrypted message body
- PreKey
Public - PreKey public key Part of a device’s bundle
- Prekeys
- List of (single use) PreKeys Part of a device’s bundle
- Signed
PreKey Public - SignedPreKey public key Part of a device’s bundle
- Signed
PreKey Signature - SignedPreKey signature Part of a device’s bundle