Skip to content

OlmEncryptionInfo

Defined in: src/crypto-api/index.ts:1355

Information about the encryption of a successfully decrypted to-device message.

sender: string

Defined in: src/crypto-api/index.ts:1357

The user ID of the event sender, note this is untrusted data unless isVerified is true *


senderCurve25519KeyBase64: string

Defined in: src/crypto-api/index.ts:1365

The sender device’s public Curve25519 key, base64 encoded *


optional senderDevice?: string

Defined in: src/crypto-api/index.ts:1363

The device ID of the device that sent us the event. Note this is untrusted data unless senderVerified is true. If the device ID is not known, this will be null.


senderVerified: boolean

Defined in: src/crypto-api/index.ts:1370

If true, this message is guaranteed to be authentic as it is coming from a device belonging to a user that we have verified. This is the state at the time of decryption (the user could be verified later).