Unwrapper
Unwrapper = (
recipients) =>Promise<Uint8Array|undefined>
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:51
Recover a CEK from an ordered, structurally validated recipient list.
Return undefined when none of the recipients can be handled. Throwing
aborts key recovery; decryptWith reports it as RecipientUnwrapError
with the original error as its cause.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
recipients | readonly RecipientInfo[] |
Returns
Section titled “Returns”Promise<Uint8Array | undefined>