Skip to content

Latest commit

 

History

History
114 lines (63 loc) · 2.16 KB

types.JWSHeaderParameters.md

File metadata and controls

114 lines (63 loc) · 2.16 KB

Interface: JWSHeaderParameters

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

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