KeyBackupService

Functions

Link copied to clipboard
abstract suspend fun bootstrapRoomKeyBackup(key: ByteArray, keyId: String, masterSigningPrivateKey: String, masterSigningPublicKey: String): Result<Unit>
Link copied to clipboard
abstract suspend fun keyBackupCanBeTrusted(keyBackupVersion: GetRoomKeysBackupVersionResponse, privateKey: String): Boolean
Link copied to clipboard
abstract suspend fun loadMegolmSession(roomId: RoomId, sessionId: String)

Properties

Link copied to clipboard
abstract val version: StateFlow<GetRoomKeysBackupVersionResponse.V1?>

This is the active key backup version. Is null, when the backup algorithm is not supported or there is no existing backup.