matrix-js-sdk

    Interface IEncryptionManagerInternal

    This interface is for testing and for making it possible to interchange the encryption manager.

    interface IEncryptionManager {
        getEncryptionKeys(): ReadonlyMap<
            string,
            readonly { key: Uint8Array; keyIndex: 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 ReadonlyMap<string, readonly { key: Uint8Array; keyIndex: number }[]>

      A map of participant IDs to their encryption keys.

    MMNEPVFCICPMFPCPTTAAATR