Skip to main content

Function: wrapCek()

function wrapCek(
pk,
policy,
cek): Promise<string>;

Defined in: index.ts:48

Authority: seals a scope's 32-byte CEK under a policy formula. The formula is normalized first (balanced parenthesization — rabe's converter panics on long unbalanced AND-chains), so authors write it naturally.

Parameters

ParameterType
pkstring
policystring
cekUint8Array

Returns

Promise<string>