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
| Parameter | Type |
|---|---|
pk | string |
policy | string |
cek | Uint8Array |
Returns
Promise<string>