interface BackupAlgorithm {
    authData: ISigned & (Curve25519AuthData | Aes256AuthData);
    untrusted: boolean;
    decryptSessions(ciphertexts: Record<string, KeyBackupSession<AESEncryptedSecretStoragePayload | Curve25519SessionData>>): Promise<IMegolmSessionData[]>;
    encryptSession(data: Record<string, any>): Promise<AESEncryptedSecretStoragePayload | Curve25519SessionData>;
    free(): void;
    keyMatches(key: ArrayLike<number>): Promise<boolean>;
}

Properties

untrusted: boolean

Methods