> For the complete documentation index, see [llms.txt](https://docs.emudhradigital.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emudhradigital.com/api-reference/signature-validation-api/validation-api-overview.md).

# Validation API Overview

REST API to validate signatures on PDF, XML and CMS / PKCS#7 data.

{% hint style="info" %}
**Interactive reference (Swagger / OpenAPI):** [Signature Validation API — Swagger](https://todo-swagger-url/signature-validation)

*Placeholder link — to be replaced with the published Swagger URL.*
{% endhint %}

## Operations (summary)

| Operation                   | Purpose                                                |
| --------------------------- | ------------------------------------------------------ |
| Validate document           | Upload a signed file → per-signature status and report |
| Validate detached signature | `.p7s` + original content, or CMS + hash               |
| Download report             | Signed PDF / JSON validation report                    |

## Result statuses

| Status          | Meaning                                                                            |
| --------------- | ---------------------------------------------------------------------------------- |
| `VALID`         | Integrity, chain, validity, revocation and timestamp checks passed                 |
| `INVALID`       | Document modified, bad signature, or certificate revoked / expired at signing time |
| `INDETERMINATE` | Could not be confirmed — e.g. unknown root or missing revocation data              |

{% hint style="warning" %}
Endpoint paths and schemas will be defined in the Swagger reference.
{% endhint %}
