ApiCoreFunctions
Function: unwrapSeedWithDeviceKey()
function unwrapSeedWithDeviceKey(
wrap,
deviceKey,
did
): Promise<Uint8Array<ArrayBufferLike>>;Defined in: packages/core/src/identity/account-vault.ts:102
Opens a device wrap.
Parameters
| Parameter | Type | Description |
|---|---|---|
wrap | DeviceWrap | - |
deviceKey | CryptoKey | - |
did | string | The vault's DID: the seed inside must derive it |
Returns
Promise<Uint8Array<ArrayBufferLike>>