matrix-js-sdk

    Interface OlmEncryptionInfo

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

    interface OlmEncryptionInfo {
        sender: string;
        senderCurve25519KeyBase64: string;
        senderDevice?: string;
        senderVerified: boolean;
    }
    Index

    Properties

    sender: string

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

    senderCurve25519KeyBase64: string

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

    senderDevice?: string

    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

    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).

    MMNEPVFCICPMFPCPTTAAATR