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.
• kty: string
JWK "kty" (Key Type) Parameter
• optional
alg: string
JWK "alg" (Algorithm) Parameter
• optional
crv: string
- EC JWK "crv" (Curve) Parameter
- OKP JWK "crv" (The Subtype of Key Pair) Parameter
• optional
d: string
- Private RSA JWK "d" (Private Exponent) Parameter
- Private EC JWK "d" (ECC Private Key) Parameter
- Private OKP JWK "d" (The Private Key) Parameter
• optional
dp: string
Private RSA JWK "dp" (First Factor CRT Exponent) Parameter
• optional
dq: string
Private RSA JWK "dq" (Second Factor CRT Exponent) Parameter
• optional
e: string
RSA JWK "e" (Exponent) Parameter
• optional
ext: boolean
JWK "ext" (Extractable) Parameter
• optional
k: string
Oct JWK "k" (Key Value) Parameter
• optional
key_ops: string
[]
JWK "key_ops" (Key Operations) Parameter
• optional
kid: string
JWK "kid" (Key ID) Parameter
• optional
n: string
RSA JWK "n" (Modulus) Parameter
• optional
p: string
Private RSA JWK "p" (First Prime Factor) Parameter
• optional
q: string
Private RSA JWK "q" (Second Prime Factor) Parameter
• optional
qi: string
Private RSA JWK "qi" (First CRT Coefficient) Parameter
• optional
use: string
JWK "use" (Public Key Use) Parameter
• optional
x: string
- EC JWK "x" (X Coordinate) Parameter
- OKP JWK "x" (The public key) Parameter
• 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
JWK "x5t#S256" (X.509 Certificate SHA-256 Thumbprint) Parameter
• optional
x5u: string
JWK "x5u" (X.509 URL) Parameter
• optional
y: string
EC JWK "y" (Y Coordinate) Parameter