Module: bundle
- class omemo.bundle.Bundle[source]
Bases:
ABC
The bundle of a device, containing the cryptographic information required for active session building.
Note
All usages of “identity key” in the public API refer to the public part of the identity key pair in Ed25519 format.
- abstract property namespace: str
- Return type
str
- abstract property bare_jid: str
- Return type
str
- abstract property device_id: int
- Return type
int
- abstract property identity_key: bytes
- Return type
bytes
- abstract __eq__(other)[source]
Check an object for equality with this Bundle instance.
- Parameters
other (
object
) – The object to compare to this instance.- Return type
bool
- Returns
Whether the other object is a bundle with the same contents as this instance.
Note
The order in which pre keys are included in the bundles does not matter.