Decryption error codes

Enumeration Members

MismatchedIdentityKeys: 2

Decryption failed because of a mismatch between the identity keys of the device we received the room key from and the identity keys recorded in the plaintext of the room key to-device message.

MissingRoomKey: 0

The room key is not known

SenderIdentityVerificationViolation: 5

The sender's identity is unverified, but was previously verified.

UnableToDecrypt: 6

Other failure.

UnknownMessageIndex: 1

The room key is known but ratcheted

UnknownSenderDevice: 3

We weren't able to link the message back to any known device.

UnsignedSenderDevice: 4

The sender device is not cross-signed.