Private
Readonly
storePrivate
_getInternal
Returns true if this CryptoStore has ever been initialised (ie, it might contain data).
Implementation of CryptoStore.containsData.
Internal
Count the number of Megolm sessions in the database.
Implementation of CryptoStore.countEndToEndInboundGroupSessions.
Internal
Delete a batch of Megolm sessions from the database.
Implementation of CryptoStore.deleteEndToEndInboundGroupSessionsBatch.
Internal
Delete a batch of Olm sessions from the database.
Implementation of CryptoStore.deleteEndToEndSessionsBatch.
Look for an existing room key request by id and state, and delete it if found
ID of request to update
state we expect to find the request in
resolves once the operation is completed
All OutgoingRoomKeyRequests in state
Internal
Fetch a batch of Megolm sessions from the database.
Implementation of CryptoStore.getEndToEndInboundGroupSessionsBatch.
Internal
Fetch a batch of Olm sessions from the database.
Implementation of CryptoStore.getEndToEndSessionsBatch.
Internal
Get data on how much of the libolm to Rust Crypto migration has been done.
Implementation of CryptoStore.getMigrationState.
Look for an existing outgoing room key request, and if none is found, add a new one
resolves to OutgoingRoomKeyRequest: either the same instance as passed in, or the existing one.
Look for an existing room key request
existing request to look for
resolves to the matching OutgoingRoomKeyRequest, or null if not found
Look for room key requests by state
list of acceptable states
resolves to the a OutgoingRoomKeyRequest, or null if there are no pending requests in those states
Internal
Set data on how much of the libolm to Rust Crypto migration has been done.
Implementation of CryptoStore.setMigrationState.
Ensure the database exists and is up-to-date.
This must be called before the store can be used.
resolves to the store.
Look for an existing room key request by id and state, and update it if found
ID of request to update
state we expect to find the request in
name/value map of updates to apply
resolves to OutgoingRoomKeyRequest updated request, or null if no matching row was found
Static
existsGenerated using TypeDoc
Abstraction of things that can store data required for end-to-end encryption