Type alias PublicJwk

PublicJwk: Jwk & {
    crv: "Ed25519" | "secp256k1" | "P-256";
    x: string;
    y?: string;
}

Type declaration

  • crv: "Ed25519" | "secp256k1" | "P-256"

    The "crv" (curve) parameter identifies the cryptographic curve used with the key. MUST be present for all EC public keys

  • x: string

    the x coordinate for the Elliptic Curve point. Represented as the base64url encoding of the octet string representation of the coordinate. MUST be present for all EC public keys

  • Optional y?: string

    the y coordinate for the Elliptic Curve point. Represented as the base64url encoding of the octet string representation of the coordinate.