COSEEC2PublicKey

Represents a COSE elliptic curve (EC2) public key for ECDSA as defined in RFC 9053.

This can only represent keys where both the x and y coordinates are defined.

Definition

interface COSEEC2PublicKey {
	curve: number;
	x: bigint;
	y: bigint;
}

Properties

  • curve: IANA COSE elliptic curve ID.
  • x
  • y