Skip to Content

SiwxPublicJwk

Defined in: siwx-server/src/types.ts:303 

Public JSON Web Key of a JWT signing key, as published in a JWKS (see SiwxJwks). Holds no private members.

Properties

alg

alg: SiwxJwtAlgorithm

Defined in: siwx-server/src/types.ts:317 

The algorithm the key signs with.


crv?

optional crv?: "P-256"

Defined in: siwx-server/src/types.ts:307 

Curve of an EC key. Always P-256.


e?

optional e?: string

Defined in: siwx-server/src/types.ts:315 

Public exponent of an RSA key, base64url.


kid

kid: string

Defined in: siwx-server/src/types.ts:319 

Key ID: the RFC 7638 thumbprint of the key. Written into the kid header of every token the key signs.


kty

kty: "EC" | "RSA"

Defined in: siwx-server/src/types.ts:305 

Key type: EC for ES256, RSA for RS256.


n?

optional n?: string

Defined in: siwx-server/src/types.ts:313 

Modulus of an RSA key, base64url.


use

use: "sig"

Defined in: siwx-server/src/types.ts:321 

Public key use. Always sig.


x?

optional x?: string

Defined in: siwx-server/src/types.ts:309 

x coordinate of an EC key, base64url.


y?

optional y?: string

Defined in: siwx-server/src/types.ts:311 

y coordinate of an EC key, base64url.

Last updated on