Function: openDeviceGrant()
function openDeviceGrant(
grant: DeviceGrant,
deviceId: string,
deviceSk: Uint8Array): Uint8Array;
Defined in: vault-core/src/device-grant.ts:58 (opens in a new tab)
Open a grant with this device's id and X25519 secret key. Throws if it was sealed elsewhere.
ParametersLink to this section
| Parameter | Type |
|---|---|
grant | DeviceGrant |
deviceId | string |
deviceSk | Uint8Array |
ReturnsLink to this section
Uint8Array