minca
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

ParameterTypeDescription
wrapDeviceWrap-
deviceKeyCryptoKey-
didstringThe vault's DID: the seed inside must derive it

Returns

Promise<Uint8Array<ArrayBufferLike>>

On this page