JwkTO

JwkTO
JwkTO

The JSON Web Key as defined in the specification: https://www.rfc-editor.org/rfc/rfc7517

JSON Example
{
    "crv": "string",
    "x": "string",
    "y": "string",
    "k": "string",
    "kty": "RSA",
    "kid": "1500075388",
    "use": "sig",
    "alg": "RS256",
    "e": "string",
    "n": "string"
}
string
crv
Optional

The cryptographic curve used with the Elliptic Curve key. This is only returned when the key type is EC.

string
x
Optional

The 'x' coordinate for the Elliptic Curve point in Base64 URL encoded format. This is only returned when the key type is EC.

string
y
Optional

The 'y' coordinate for the Elliptic Curve point in Base64 URL encoded format. This is only returned when the key type is EC.

string
k
Optional

The 'k' (key value) parameter contains the value of the symmetric (or other single-valued) key. It is represented as the Base64 URL encoding of the octet sequence containing the key value. This is only returned when the key type is oct.

string
kty
Required

Key type which identifies the cryptographic algorithm family used with the key. The key type must be present in a JWK according to the JWK spec at https://www.rfc-editor.org/rfc/rfc7517#section-4.1.

Possible values are : RSA, EC, oct,
string
kid
Optional

The key ID. It can be used to match a specific key.

string
use
Optional

Indicates whether the public key is used for encrypting data (enc) or verifying the signature on data (sig).

Possible values are : sig, enc,
string
alg
Optional

Identifies the algorithm intended for use with the key.

string
e
Optional

The public exponent that contains the exponent value for the RSA public key as a Base64urlUInt-encoded value. This is only returned when the key type is RSA.

string
n
Optional

The modulus parameter that contains the modulus value for the RSA public key as a Base64urlUInt-encoded value. This is only returned when the key type is RSA.

Property Of