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://dotland.deno.dev/x/jose@v5.9.2/index.ts";

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

Properties

optional
crv: string
  • (EC) Curve
  • (OKP) The Subtype of Key Pair
optional
d: string
  • (Private RSA) Private Exponent
  • (Private EC) ECC Private Key
  • (Private OKP) The Private Key
optional
dp: string

(Private RSA) First Factor CRT Exponent

optional
dq: string

(Private RSA) Second Factor CRT Exponent

optional
e: string

(RSA) Exponent

optional
k: string

(oct) Key Value

optional
n: string

(RSA) Modulus

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

(Private RSA) Other Primes Info. This parameter is not supported.

optional
p: string

(Private RSA) First Prime Factor

optional
q: string

(Private RSA) Second Prime Factor

optional
qi: string

(Private RSA) First CRT Coefficient

optional
x: string
  • (EC) X Coordinate
  • (OKP) The public key
optional
y: string

(EC) Y Coordinate