JsonWebKey interface
JSON Web Key (JWK) object per RFC 7517. Represents a cryptographic key in JSON format.
Properties
| alg | Algorithm the key is used with (for example, |
| crv | Elliptic-curve name (for example, |
| e | RSA exponent (Base64urlUInt-encoded). |
| kid | Key ID used for key rotation. |
| kty | Key type (for example, |
| n | RSA modulus (Base64urlUInt-encoded). |
| use | Intended public key use (for example, |
| x | Elliptic-curve x coordinate (Base64urlUInt-encoded). |
| y | Elliptic-curve y coordinate (Base64urlUInt-encoded). |
Property Details
alg
Algorithm the key is used with (for example, "RS256" or "ES256").
alg?: string
Property Value
string
crv
Elliptic-curve name (for example, "P-256").
crv?: string
Property Value
string
e
RSA exponent (Base64urlUInt-encoded).
e?: string
Property Value
string
kid
Key ID used for key rotation.
kid?: string
Property Value
string
kty
Key type (for example, "RSA" or "EC").
kty: string
Property Value
string
n
RSA modulus (Base64urlUInt-encoded).
n?: string
Property Value
string
use
Intended public key use (for example, "sig" for signature).
use?: string
Property Value
string
x
Elliptic-curve x coordinate (Base64urlUInt-encoded).
x?: string
Property Value
string
y
Elliptic-curve y coordinate (Base64urlUInt-encoded).
y?: string
Property Value
string