Oslo

ECDSA.verify()

Verifies a signature with a public key and returns true if the signature is valid. See ECDSA for an example.

Definition

function sign(
	publicKey: ArrayBuffer | TypedArray,
	signature: ArrayBuffer | TypedArray,
	data: ArrayBuffer | TypedArray
): Promise<boolean>;

Parameters

  • publicKey: Public key in SPKI format
  • signature
  • data: The original signed data