interface OKPJWK {
    alg?: "EdDSA";
    crv: "Ed25519";
    key_ops?: KeyOps[];
    kid?: string;
    kty: "OKP";
    use?: "sig" | "enc";
    x: string;
}

Hierarchy (View Summary)

Properties

alg?: "EdDSA"
crv: "Ed25519"
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: "OKP"
use?: "sig" | "enc"
x: string

The parameter "x" MUST be present and contain the public key encoded using the base64url [RFC4648] encoding.