Private
algorithmPrivate
Readonly
basePrivate
clientReadonly
getPrivate
sendingPrivate
sessionCheck the server for an active key backup and if one is present and has a valid signature from one of the user's verified devices, start backing up to it.
Forces a re-check of the key backup and enables/disables it as appropriate.
Object with backup info (as returned by getKeyBackupVersion) in backupInfo and trust information (as returned by isKeyBackupTrusted) in trustInfo.
Marks all group sessions as needing to be backed up without scheduling them to upload in the background.
Promise which resolves to the number of sessions now requiring a backup (which will be equal to the number of sessions in the store).
Check if the given backup info is trusted.
Optional
backupInfo: KeyBackupInfokey backup info dict from /room_keys/version
Optional
key: null | string | Uint8ArrayOptional
algorithm: stringStatic
checkPerforms a quick check to ensure that the backup info looks sane.
Throws an error if a problem is detected.
the key backup info
Static
makeGenerated using TypeDoc
Manages the key backup.