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.
JSON Web Key (JWK). "RSA", "EC", "OKP", and "oct" key types are supported.
• Optional
alg: string
JWK "alg" (Algorithm) Parameter.
• Optional
crv: string
• Optional
d: string
• Optional
dp: string
• Optional
dq: string
• Optional
e: string
• Optional
ext: boolean
JWK "ext" (Extractable) Parameter.
• Optional
k: string
• Optional
key_ops: string
[]
JWK "key_ops" (Key Operations) Parameter.
• Optional
kid: string
JWK "kid" (Key ID) Parameter.
• Optional
kty: string
JWK "kty" (Key Type) Parameter.
• Optional
n: string
• Optional
oth: { d?
: string
; r?
: string
; t?
: string
}[]
• Optional
p: string
• Optional
q: string
• Optional
qi: string
• Optional
use: string
JWK "use" (Public Key Use) Parameter.
• Optional
x: string
• Optional
x5c: string
[]
JWK "x5c" (X.509 Certificate Chain) Parameter.
• Optional
x5t: string
JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.
• Optional
x5t#S256: string
"x5t#S256" (X.509 Certificate SHA-256 Thumbprint) Parameter.
• Optional
x5u: string
JWK "x5u" (X.509 URL) Parameter.
• Optional
y: string