matrix-js-sdk

    Interface IEncryptionManager

    Interface representing an encryption manager for handling encryption-related operations in a real-time communication context.

    interface IEncryptionManager {
        getEncryptionKeys(): Map<
            string,
            { key: Uint8Array; timestamp: number }[],
        >;
        join(joinConfig: undefined | EncryptionConfig): void;
        leave(): void;
        onMembershipsUpdate(oldMemberships: CallMembership[]): void;
    }
    Index

    Methods

    • Retrieves the encryption keys currently managed by the encryption manager.

      Returns Map<string, { key: Uint8Array; timestamp: number }[]>

      A map where the keys are identifiers and the values are arrays of objects containing encryption keys and their associated timestamps.

    MMNEPVFCICPMFPCPTTAAATR