RecipientInfo
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:29
Validated recipient data exposed to key-unwrapping adapters.
Properties
Section titled “Properties”
readonlyalg:string|number
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:32
readonlyindex:number
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:31
Position in the envelope’s recipient array.
readonlyoptionalkid?:Uint8Array<ArrayBufferLike>
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:33
protected
Section titled “protected”
readonlyprotected:ReadonlyMap<string|number,CborValue>
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:37
Decoded protected recipient parameters.
protectedBytes
Section titled “protectedBytes”
readonlyprotectedBytes:Uint8Array
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:35
Exact serialized protected-header bytes, needed by algorithms such as -31.
unprotected
Section titled “unprotected”
readonlyunprotected:ReadonlyMap<string|number,CborValue>
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:39
Decoded unprotected recipient parameters.
wrappedKey
Section titled “wrappedKey”
readonlywrappedKey:Uint8Array
Defined in: packages/filecoin-encryption-envelope/src/recipients/types.ts:41
Wrapped CEK stored in the recipient ciphertext field.