Expand description
Encryption Sync API.
The encryption sync API is a high-level helper that is designed to take care of handling the synchronization of encryption and to-device events (required for encryption), be they received within the app or within a dedicated extension process (e.g. the NSE process on iOS devices).
Under the hood, this uses a sliding sync instance configured with no lists, but that enables the e2ee and to-device extensions, so that it can both handle encryption and manage encryption keys; that’s sufficient to decrypt messages received in the notification processes.
Structs§
- Encryption
Sync Permit - Unit type representing a permit to use an
EncryptionSyncService
. - Encryption
Sync Service - High-level helper for synchronizing encryption events using sliding sync.
Enums§
- Error
- Errors for the
EncryptionSyncService
. - With
Locking - Should the
EncryptionSyncService
make use of locking?