Optional
txn: unknownInternal
Returns true if this CryptoStore has ever been initialised (ie, it might contain data).
Unlike the rest of the methods in this interface, can be called before CryptoStore#startup.
Internal
Delete a batch of Megolm sessions from the database.
Any sessions in the list which are not found are silently ignored.
Internal
Delete a batch of end-to-end sessions from the database.
Any sessions in the list which are not found are silently ignored.
Internal
Get a batch of Megolm sessions from the database.
A batch of Megolm Sessions, or null
if no sessions are left.
Internal
Get a batch of end-to-end sessions from the database.
A batch of Olm Sessions, or null
if no sessions are left.
Internal
Get data on how much of the libolm to Rust Crypto migration has been done.
Internal
Set data on how much of the libolm to Rust Crypto migration has been done.
Initialise this crypto store.
Typically, this involves provisioning storage, and migrating any existing data to the current version of the storage schema where appropriate.
Must be called before any of the rest of the methods in this interface.
Optional
txn: unknown
Abstraction of things that can store data required for end-to-end encryption