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

uploadBackup

abstract fun uploadBackup(agent: Agent, input: InputStream, keySeed: String): Completable

Uploads a backup backed by the input stream, using the keySeed to create the backup store message. If uploading a local backup, you probably want to use the same seed as used for creating it.

Parameters

agent - to upload the backup for.

input - is an InputStream to read the backup from.

keySeed - is a seed used for backup store message.