# 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.

<figure><img src="/files/UuOmIg1ZHNz1wGPMfX8G" alt=""><figcaption></figcaption></figure>

Also see: [Create ECDSA Keys](/reference/plugins/overview/content/createecdsakeys.md), [Generate ECDSA Signature](/reference/plugins/overview/content/generateecdsasignature.md).

***

## Properties

### Public key

The public ECDSA key against which to verify the signature (see [Create ECDSA Keys](/reference/plugins/overview/content/createecdsakeys.md)). The public ECDSA key against which to verify the signature (see [Create ECDSA Keys](/reference/plugins/overview/content/createecdsakeys.md)).

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:

* SHA256 - [learn more](https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.sha256?view=net-7.0)
* SHA384 - [learn more](https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.sha384?view=net-7.0)
* SHA512 - [learn more](https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.sha512?view=net-7.0)

### 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](/reference/plugins/overview/content/generateecdsasignature.md)). This can be a list of bytes or a base64 string. The signed data to verify (see [Generate ECDSA Signature](/reference/plugins/overview/content/generateecdsasignature.md)). This can be a list of bytes or a base64 string.

***

## Definition

A [boolean](/reference/plugins/linx/content/boolean.md) value (*true* / *false*) indicating if the specified signature is valid given the public key and data. A [boolean](/reference/plugins/linx/content/boolean.md) value (*true* / *false*) indicating if the specified signature is valid given the public key and data.

***

## Links

* [Wikipedia: Elliptic Curve Digital Signature Algorithm](https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linx.software/reference/plugins/overview/content/verifyecdsasignature.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
