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

interface BaseJWK {
    alg?: SignatureAlgorithm;
    key_ops?: KeyOps[];
    kid?: string;
    kty: "RSA" | "EC" | "OKP";
    use?: "sig" | "enc";
}

Hierarchy (View Summary)

Properties

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" | "EC" | "OKP"
use?: "sig" | "enc"