Inspection is not validation
Two different questions get asked about signed PDFs, and they are constantly confused. Inspection: what signature data does this file contain — who does it say signed, when, covering what? Validation: is that signature cryptographically sound — do the hashes match, does the certificate chain lead to a trusted authority, was the certificate valid and unrevoked at signing time? This tool answers the first question completely and the second not at all, and it keeps the boundary in front of you from the first line, because a tool that blurs it manufactures false confidence — the most dangerous output a signature tool can produce.
Anatomy of a PDF signature
| Part | What it is | What this tool shows |
|---|---|---|
| Signature field | An AcroForm field of type /Sig, often with a visible appearance on a page | Its field name |
| Signature dictionary (/V) | The value: signer name, date, reason, location, handler | Every stored entry, decoded |
| ByteRange | The exact byte segments of the file that were hashed and signed | The range, plus coverage as a percentage of the file |
| Contents | The cryptographic signature value itself, sitting in the ByteRange gap | Not interpreted — that is validation territory |
| Certificate chain | The signer's certificate and its issuers, embedded or referenced | Not evaluated — use a validator |
How to inspect a PDF signature, step by step
Drop the file in. The scan walks the form's fields for signature fields, reads each one's value dictionary, and also sweeps the file's objects for signature dictionaries that a form walk might miss — belt and braces, because real-world files are messy. Read the report: an unsigned file says so in one line; a signed file gets a card per signature. Then decide what the result obliges you to do. “Unsigned” on a file that should be signed is a stop sign. “Signed, coverage 100%” is a good triage result — and if the document will be relied on legally, it is the beginning of validation in a proper tool, not a substitute for it.
Reading ByteRange like an auditor
The ByteRange is four numbers: start and length of the first signed segment, start and length of the second. Between them sits the gap holding the signature value itself. For a simply signed file, the two segments together cover everything except that gap — coverage a whisker under 100%. When coverage is visibly lower, something exists outside the signed regions: content appended after signing. PDF's incremental-update model makes that legal — a second signature, a filled form, an LTV extension — but “legal” and “expected” are different questions, and an unexpected gap is exactly what should send a document to full validation.
What this tool can and cannot do
It can: inventory the signatures in any PDF you can open, decode their stored claims readably, measure ByteRange coverage, and hand you a plain-text report — privately, in your browser, on any device. It cannot: verify hashes, evaluate certificates, check revocation, establish trust, or give a legal opinion on a signature. For those, the routes are Adobe Acrobat's Signatures panel (desktop) or the European Commission's DSS validation service — both named so you can go straight there.
Worked example: the contract that was never signed
A supplier returns a “signed” agreement. The last page shows a flowing signature. The inspection reports: no signatures found. The flowing script is an image — it proves someone pasted a picture, nothing more; it seals nothing and detects no tampering. The agreement goes back with a request for a properly signed copy, and a five-second inspection has caught what a visual check waved through.
Sources & References
- ISO 32000-2 (PDF 2.0), §12.8 — digital signatures, signature fields, ByteRange and signature dictionaries: iso.org
- European Commission — DSS (Digital Signature Services) validation, the full-validation route referenced above: ec.europa.eu
- Adobe — validate digital signatures in Acrobat, on what real validation checks: helpx.adobe.com
- pdf-lib — low-level dictionary access used by the scanner: pdf-lib.js.org
Presence is not proof. When a signature carries legal or financial weight, follow this inspection with validation in Acrobat or DSS — every time.