JsonWebKey represents a JSON Web Key as defined in RFC 7517.

interface RSAJWK {
    alg?: "RS256";
    e: string;
    key_ops?: KeyOps[];
    kid?: string;
    kty: "RSA";
    n: string;
    use?: "sig" | "enc";
}

Hierarchy (View Summary)

Properties

Properties

alg?: "RS256"
e: string

The "e" (exponent) parameter contains the exponent value for the RSA public key.

key_ops?: KeyOps[]
kid?: string

The kid (key ID) parameter is used to match a specific key. Recommended that kid is set to the fingerprint of the public key.

kty: "RSA"
n: string

The "n" (modulus) parameter contains the modulus value for the RSA public key.

use?: "sig" | "enc"