Options
All
  • Public
  • Public/Protected
  • All
Menu

Struct containing information on how an event was decrypted.

Hierarchy

  • EncryptionInfo

Index

Constructors

Properties

sender: UserId

The user ID of the event sender. Note this is untrusted data unless verification_state is also trusted.

senderClaimedEd25519Key: undefined | string

The signing Ed25519 key that created the megolm key that was used to decrypt this session.

senderCurve25519Key: undefined | string

The Curve25519 key of the device that created the megolm decryption key originally.

senderDevice: undefined | DeviceId

The device ID of the device that sent us the event. Note this is untrusted data unless verification_state is also trusted.

Methods

  • free(): void
  • Returns void

  • The verification state of the device that sent us the event. Note this is the state of the device at the time of decryption. It may change in the future if a device gets verified or deleted.

    Arguments

    • strict - whether to enable "strict mode" verification. In non-strict mode, unverified users are given no shield, and keys that have been forwarded or restored from an insecure backup are given a grey shield (both get a red shield in strict mode).

    Parameters

    • strict: boolean

    Returns ShieldState

Generated using TypeDoc