Files
jose/docs/interfaces/types.JWSHeaderParameters.md
2023-04-12 18:54:17 +02:00

2.2 KiB

Interface: JWSHeaderParameters

💗 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 JWS Header Parameters, any other Header Members may also be present.

Table of contents

Properties

Properties

alg

• Optional alg: string

JWS "alg" (Algorithm) Header Parameter.


b64

• Optional b64: boolean

This JWS Extension Header Parameter modifies the JWS Payload representation and the JWS Signing Input computation as per RFC7797.


crit

• Optional crit: string[]

JWS "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, "crv" | "e" | "kty" | "n" | "x" | "y">

"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.