aries-mediator-dotnet / net.globalid.aries.mediator.dotnet.backup / DefaultDotnetBackupService / createBackupRetrieveMessage

createBackupRetrieveMessage

fun createBackupRetrieveMessage(keySeed: String): Single<RetrieveBackupMessage>

See DotnetBackupService.createBackupRetrieveMessage. Creates a backup retrieve message from a key seed. This involves creating a key pair used for message signatures from the seed. A temporary wallet is used so that the message can be constructed multiple times if needed (e.g. error when sending). The following is done:

  1. A new temporary wallet is created to successfully generate a key pair.
  2. The public key is signed with the key pair.
  3. The temporary wallet is deleted