Enumeration CryptoEvent

Enumeration Members

DevicesUpdated
DeviceVerificationChanged

Event not fired by the rust crypto

KeyBackupDecryptionKeyCached

Fires when a new valid backup decryption key is in cache. This will happen when a secret is received from another session, from secret storage, or when a new backup is created from this session.

The payload is the version of the backup for which we have the key for.

This event is only fired by the rust crypto backend.

KeyBackupFailed
KeyBackupSessionsRemaining
KeyBackupStatus
KeysChanged
KeySignatureUploadFailure

Event not fired by the rust crypto

LegacyCryptoStoreMigrationProgress

Fires when data is being migrated from legacy crypto to rust crypto.

The payload is a pair (progress, total), where progress is the number of steps completed so far, and total is the total number of steps. When migration is complete, a final instance of the event is emitted, with progress === total === -1.

RoomKeyRequest

Event not fired by the rust crypto

RoomKeyRequestCancellation

Event not fired by the rust crypto

UserCrossSigningUpdated

Event not fired by the rust crypto

UserTrustStatusChanged
VerificationRequest

Use VerificationRequestReceived.

VerificationRequestReceived

Fires when a key verification request is received.

The payload is a Crypto.VerificationRequest.

Warning

Event not fired by the rust crypto

WillUpdateDevices

Use DevicesUpdated instead when using rust crypto