jose/docs/interfaces/types.jwk.md
2021-03-30 18:02:14 +02:00

4.4 KiB

Interface: JWK

types.JWK

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

Table of contents

Properties

Properties

alg

Optional alg: string

JWK "alg" (Algorithm) Parameter.

Defined in: types.d.ts:14


crv

Optional crv: string

Defined in: types.d.ts:15


d

Optional d: string

Defined in: types.d.ts:16


dp

Optional dp: string

Defined in: types.d.ts:17


dq

Optional dq: string

Defined in: types.d.ts:18


e

Optional e: string

Defined in: types.d.ts:19


ext

Optional ext: boolean

JWK "ext" (Extractable) Parameter.

Defined in: types.d.ts:23


k

Optional k: string

Defined in: types.d.ts:24


key_ops

Optional key_ops: string[]

JWK "key_ops" (Key Operations) Parameter.

Defined in: types.d.ts:28


kid

Optional kid: string

JWK "kid" (Key ID) Parameter.

Defined in: types.d.ts:32


kty

Optional kty: string

JWK "kty" (Key Type) Parameter.

Defined in: types.d.ts:36


n

Optional n: string

Defined in: types.d.ts:37


oth

Optional oth: { d?: string ; r?: string ; t?: string }[]

Defined in: types.d.ts:38


p

Optional p: string

Defined in: types.d.ts:43


q

Optional q: string

Defined in: types.d.ts:44


qi

Optional qi: string

Defined in: types.d.ts:45


use

Optional use: string

JWK "use" (Public Key Use) Parameter.

Defined in: types.d.ts:49


x

Optional x: string

Defined in: types.d.ts:50


x5c

Optional x5c: string[]

JWK "x5c" (X.509 Certificate Chain) Parameter.

Defined in: types.d.ts:55


x5t

Optional x5t: string

JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter.

Defined in: types.d.ts:59


x5t#S256

Optional x5t#S256: string

"x5t#S256" (X.509 Certificate SHA-256 Thumbprint) Parameter.

Defined in: types.d.ts:59


x5u

Optional x5u: string

JWK "x5u" (X.509 URL) Parameter.

Defined in: types.d.ts:67


y

Optional y: string

Defined in: types.d.ts:51