aries-mediator-dotnet / net.globalid.aries.mediator.dotnet.backup / DotnetBackupManager / restoreRemoteBackup

restoreRemoteBackup

abstract fun restoreRemoteBackup(agent: Agent, keySeed: String, configuration: WalletConfiguration, credentials: WalletCredentials): Single<String>

Restores a remote backup using the provided keySeed to create the backup retrieve message and to decrypt the backup. To use the restored backup, you must open the wallet with the returned ID.

Parameters

agent - to restore the backup for.

keySeed - from the export backup info.

configuration - are the new WalletConfiguration to use for the restored wallet.

credentials - are the new WalletCredentials to use for the restored wallet.

Return
Single of a String, the restored wallet ID.