Verify ECDSA Signature

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.

Also see: Create ECDSA Keys, Generate ECDSA Signature.


Properties

Public key

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

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 Generate ECDSA Signature). This can be a list of bytes or a base64 string. The signed data to verify (see Generate ECDSA Signature). 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. A boolean value (true / false) indicating if the specified signature is valid given the public key and data.


Last updated