Function: recoverKeyset()
recoverKeyset(
keysetId
,backupOptions
):Promise
<void
>
Description
Retrieve the encrypted shares, decrypt, and "load" them to the SDK to be used as part of the recovery for users.
For more information, see End User Backup and Recovery.
Throws
Parameters
Parameter | Type | Description |
---|---|---|
keysetId | string | The ID of the keyset. |
backupOptions | BackupOptions | The backup options. |
Returns
Promise
< void
>
A Promise that resolves when the recover operation is successful.