Skip to main content
Module

x/jose/types.d.ts>JWK

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
interface JWK
import { type JWK } from "https://deno.land/x/jose@v4.8.3/types.d.ts";

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

Index Signatures

[propName: string]: unknown

Properties

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: Array<{ 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
y: 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.