Type Alias JWK

JSON Web Key (JWK) for the public key used to verify the signature of a client assertion JWT

type JWK = {
    alg: "RS256" | "RS512" | "ES384";
    crv?: string;
    e?: string;
    kid: string;
    kty: "RSA" | "EC";
    n?: string;
    use: "sig";
    x?: string;
    y?: string;
}
Index

Properties

Properties

alg: "RS256" | "RS512" | "ES384"

Algorithm intended for use with the key

crv?: string

Curve for EC keys

e?: string

Exponent for RSA keys

kid: string

Key ID

kty: "RSA" | "EC"

Key type (e.g., RSA, EC)

n?: string

Modulus for RSA keys

use: "sig"

Intended use of the key (typically "sig" for signature)

x?: string

X coordinate for EC keys

y?: string

Y coordinate for EC keys