Skip to content

RecipientInfo

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:29

Validated recipient data exposed to key-unwrapping adapters.

readonly alg: string | number

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:32


readonly index: number

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:31

Position in the envelope’s recipient array.


readonly optional kid?: Uint8Array<ArrayBufferLike>

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:33


readonly protected: ReadonlyMap<string | number, CborValue>

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:37

Decoded protected recipient parameters.


readonly protectedBytes: Uint8Array

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:35

Exact serialized protected-header bytes, needed by algorithms such as -31.


readonly unprotected: ReadonlyMap<string | number, CborValue>

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:39

Decoded unprotected recipient parameters.


readonly wrappedKey: Uint8Array

Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:41

Wrapped CEK stored in the recipient ciphertext field.