Interface: CompactJWEHeaderParameters
March 19, 2026 Ā· View on GitHub
š Help the project
Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.
Recognized Compact JWE Header Parameters, any other Header Members may also be present.
Indexable
[
propName:string]:unknown
Any other JWE Header member.
Properties
alg
⢠alg: string
JWE "alg" (Algorithm) Header Parameter
See
enc
⢠enc: string
JWE "enc" (Encryption Algorithm) Header Parameter
See
crit?
⢠optional crit?: string[]
JWE "crit" (Critical) Header Parameter
cty?
⢠optional cty?: string
"cty" (Content Type) Header Parameter
jku?
⢠optional jku?: string
"jku" (JWK Set URL) Header Parameter
jwk?
⢠optional jwk?: Pick<JWK, "x" | "y" | "crv" | "e" | "n" | "pub" | "kty" | "alg">
"jwk" (JSON Web Key) Header Parameter
kid?
⢠optional kid?: string
"kid" (Key ID) Header Parameter
typ?
⢠optional typ?: string
"typ" (Type) Header Parameter
x5c?
⢠optional x5c?: string[]
"x5c" (X.509 Certificate Chain) Header Parameter
x5t?
⢠optional x5t?: string
"x5t" (X.509 Certificate SHA-1 Thumbprint) Header Parameter
x5u?
⢠optional x5u?: string
"x5u" (X.509 URL) Header Parameter
zip?
⢠optional zip?: string
JWE "zip" (Compression Algorithm) Header Parameter.
The only supported value is "DEF" (DEFLATE). Requires the CompressionStream /
DecompressionStream APIs to be available in the runtime.