Interface IEncryptedEventInfo

interface IEncryptedEventInfo {
    algorithm: string;
    authenticated: boolean;
    encrypted: boolean;
    mismatchedSender: boolean;
    sender?: DeviceInfo;
    senderKey: string;
}

Properties

algorithm: string

the algorithm used to encrypt the event

authenticated: boolean

whether we can be sure that the owner of the senderKey sent the event

encrypted: boolean

whether the event is encrypted (if not encrypted, some of the other properties may not be set)

mismatchedSender: boolean

if the event's ed25519 and curve25519 keys don't match (only meaningful if sender is set)

sender?: DeviceInfo

the sender's device information, if available

senderKey: string

the sender's key

Generated using TypeDoc