Function: recoverKeyset

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

FordefiSdkErrorResult

Parameters

ParameterTypeDescription
keysetIdstringThe ID of the keyset.
backupOptionsBackupOptionsThe backup options.

Returns

Promise< void >

A Promise that resolves when the recover operation is successful.