Sign in

Type: Jwk

Represents a JSON Web Key (JWK) as defined by RFC 7517.

A JWK describes a cryptographic key used to verify or encrypt JSON Web Tokens (JWTs) as obtained from the JWKS (JSON Web Key Set) endpoint exposed by the authorization server.

The available properties depend on the key type (kty).

Properties

PropertyTypeDescription
alg?stringIntended algorithm for the key (for example: RS256).
crv?stringElliptic curve name (for example: P-256).
d?stringRSA private exponent.
dp?stringRSA first factor CRT exponent.
dq?stringRSA second factor CRT exponent.
e?stringRSA public exponent.
ext?booleanIndicates whether the key is extractable.
k?stringSymmetric key value (base64url encoded).
key_ops?string[]Allowed operations for the key (e.g. sign, verify, encrypt).
kid?stringKey identifier used to match keys during verification.
ktystringKey type (for example: RSA, or EC).
n?stringRSA modulus.
oth?{ d?: string; r?: string; t?: string; }[]Additional prime information (multi-prime RSA).
p?stringRSA first prime factor.
q?stringRSA second prime factor.
qi?stringRSA CRT coefficient.
use?stringPublic key use (sig for signature or enc for encryption).
x?stringX coordinate for EC public keys.
x5c?string[]X.509 certificate chain.
x5t?stringX.509 certificate SHA-1 thumbprint.
x5t#S256?stringX.509 certificate SHA-256 thumbprint.
x5u?stringURL referencing the X.509 certificate.
y?stringY coordinate for EC public keys.
© 2024 MonoCloud. All rights reserved.