RecipientInput
Defined in: packages/filecoin-encryption-envelope/src/cose/encode.ts:21
Input for one COSE_recipient. This layer shapes it; it never wraps a key.
Properties
Section titled “Properties”ciphertext
Section titled “ciphertext”ciphertext:
Uint8Array
Defined in: packages/filecoin-encryption-envelope/src/cose/encode.ts:31
Wrapped key material.
protectedBytes
Section titled “protectedBytes”protectedBytes:
Uint8Array
Defined in: packages/filecoin-encryption-envelope/src/cose/encode.ts:27
This recipient’s serialized protected header, or h'' for none. Which
of the two is required depends on the recipient algorithm: A256KW needs
the empty form, ECDH-ES+A256KW a map carrying alg.
unprotected
Section titled “unprotected”Defined in: packages/filecoin-encryption-envelope/src/cose/encode.ts:29
Text labels are legal (RFC 9052 §3.1) but only ever come from an application extension.