Function: decryptCek()
function decryptCek(attributeKey, wrappedCek): Promise<Uint8Array<ArrayBufferLike> | null>;
Defined in: index.ts:59
Client: attempts a scope's CEK with the session's attribute key.
null means the key does not satisfy the scope's policy — access denial as
decryption failure, the whole point of the architecture.
Parameters
| Parameter | Type |
|---|---|
attributeKey | string |
wrappedCek | string |
Returns
Promise<Uint8Array<ArrayBufferLike> | null>