minca
ApiCoreFunctions

Function: openValueFrom()

function openValueFrom(
   recipient, 
   label, 
   bound, 
   sealed
): Promise<unknown>;

Defined in: packages/core/src/identity/hpke.ts:255

Opens what sealValueTo sealed; null when it doesn't open, or isn't JSON

Parameters

ParameterType
recipient{ privateKey: CryptoKey; publicKey: string; }
recipient.privateKeyCryptoKey
recipient.publicKeystring
labelstring
boundBound
sealedunknown

Returns

Promise<unknown>

On this page