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?
optionalcrv?:"P-256"
Defined in: siwx-server/src/types.ts:307
Curve of an EC key. Always P-256.
e?
optionale?: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?
optionaln?: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?
optionalx?:string
Defined in: siwx-server/src/types.ts:309
x coordinate of an EC key, base64url.
y?
optionaly?:string
Defined in: siwx-server/src/types.ts:311
y coordinate of an EC key, base64url.