---
title: "verifySignatureChecks"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/functions/verifysignaturechecks/"
---

# verifySignatureChecks

```ts
function verifySignatureChecks(checks, subtle?): Promise<SignatureAnswer[]>;
```

Defined in: [packages/sdk/src/signature-checks.ts:133](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/signature-checks.ts#L133)

Verifies the signature values [Document.signatureChecks](/reference/sdk/classes/document.md#signaturechecks) lists with WebCrypto, in order:
each answer holds the check's `fingerprint` and `verified`: `true` for a value that verified,
`false` for one that did not, `null` for one this runtime cannot check (a curve or algorithm
WebCrypto lacks, a key it refuses; Ed25519 is always left unchecked here). Hand the answers to
[Document.validateSignatures](/reference/sdk/classes/document.md#validatesignatures), which refuses any list that is not exactly the one for its
checks; a `null` makes that signature unsupported, never valid. Nothing leaves the device. The
answers are your own word: a page that lies about them can make any signature valid.

## Parameters

### checks

readonly `SignatureCheck`[]

from [Document.signatureChecks](/reference/sdk/classes/document.md#signaturechecks).

### subtle?

`SubtleCrypto` = `globalThis.crypto.subtle`

the WebCrypto to use; omitted, `globalThis.crypto.subtle`.

## Returns

`Promise`\<`SignatureAnswer`[]\>

## Example

```ts
const options = { now: Math.floor(Date.now() / 1000), anchors };
const answers = await verifySignatureChecks(doc.signatureChecks(options));
const reports = doc.validateSignatures(options, answers);
```

## Since

0.7.0
