VerifyECDSASignature

Verifies a digital signature against the specified Elliptic Curve Digital Signature Algorithm (ECDSA) public key.

In the diagram below, the dark rectangle represents the activity of verifying a signature against some data using a public key that is retrieved from the server which signed the data.
ECDSA Process
Also see: CreateECDSAKeys, GenerateECDSASignature.

Properties

Public key

The public ECDSA key against which to verify the signature (see CreateECDSAKeys).

The key can be given as a list of bytes or a base64 string.

Hash algorithm

The hash algorithm that was used to sign the data.

Options:

Data

The data against which to verify the signature. This can be a list of bytes or a base64 string.

Signature

The signed data to verify (see GenerateECDSASignature). This can be a list of bytes or a base64 string.

Definition

A boolean value (true / false) indicating if the specified signature is valid given the public key and data.

Wikipedia: Elliptic Curve Digital Signature Algorithm