ApplyCryptoStateUseCase

internal interface ApplyCryptoStateUseCase

Applies crypto state (MLS and Proteus keystores) from extracted backup files. This replaces the existing keystores with the ones from the backup and updates the database passphrases in storage.

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(extractResult: ExtractCryptoStateResult.Success): ApplyCryptoStateResult

Applies the crypto state from the extracted backup.