Type alias JwkParamsOkpPublic

JwkParamsOkpPublic: Omit<JwkParamsAnyKeyType, "kty" | "alg" | "crv"> & Pick<JwkParamsEcPublic, "x"> & {
    alg?: "EdDSA";
    crv: "Ed25519" | "Ed448" | "X25519" | "X448";
    kty: "OKP";
}

Parameters used with "OKP" (octet key pair) public keys.

Type declaration

  • Optional alg?: "EdDSA"

    The algorithm intended for use with the key. EdDSA: Edwards Curve Digital Signature Algorithm

  • crv: "Ed25519" | "Ed448" | "X25519" | "X448"

    The cryptographic curve used with the key. MUST be present for all OKP public keys.

  • kty: "OKP"

    Key type OKP (Octet Key Pair) is defined for public key algorithms that use octet strings as private and public keys.