Optional
alg?: "ES256" | "ES256K" | "ES384" | "ES512"The algorithm intended for use with the key. ES256 : ECDSA using P-256 and SHA-256 ES256K : ECDSA using secp256k1 curve and SHA-256 ES384 : ECDSA using P-384 and SHA-384 ES512 : ECDSA using P-521 and SHA-512
The cryptographic curve used with the key. MUST be present for all EC public keys.
Elliptic Curve key pair.
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?: stringThe y-coordinate for the Elliptic Curve point. Represented as the base64url encoding of the octet string representation of the coordinate. MUST be present only for secp256k1 public keys.
Parameters used with "EC" (elliptic curve) public keys.