Skip to main content
Module

x/jose/index.ts>JWK

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
interface JWK
implements JWKParameters
import { type JWK } from "https://deno.land/x/jose@v5.9.3/index.ts";

JSON Web Key (JWK). "RSA", "EC", "OKP", and "oct" key types are supported.

Properties

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
k: string

Oct JWK "k" (Key Value) Parameter

optional
n: string

RSA JWK "n" (Modulus) Parameter

optional
oth: Array<{ d?: string; r?: string; t?: string; }>

Private RSA JWK "oth" (Other Primes Info) Parameter

This parameter is not supported

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
x: string
  • EC JWK "x" (X Coordinate) Parameter
  • OKP JWK "x" (The public key) Parameter
optional
y: string

EC JWK "y" (Y Coordinate) Parameter