Skip to content

InvalidKeyError

Defined in: packages/filecoin-encryption-envelope/src/errors.ts:14

A CEK or KEK is not a 32-byte, non-zero AES-256 key.

new InvalidKeyError(message?): InvalidKeyError

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080

Parameter Type
message? string

InvalidKeyError

EnvelopeError.constructor

new InvalidKeyError(message?, options?): InvalidKeyError

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080

Parameter Type
message? string
options? ErrorOptions

InvalidKeyError

EnvelopeError.constructor

name: string = 'InvalidKeyError'

Defined in: packages/filecoin-encryption-envelope/src/errors.ts:15

EnvelopeError.name