E-signatures · Glossary
What is a digital signature?
A digital signature is a cryptographic operation rather than a picture. A private key signs a hash of the file, and anybody holding the matching certificate can recompute that hash and check it. If one byte changed after signing, the check fails, which is what separates it from a drawn or typed mark.
The phrase gets used for anything applied on a screen, which muddles two different things. This page is about the mathematical kind, the one a PDF reader can verify without asking anyone.
Indunil Asanka · Co-founder
5 min read · Published
| Question | Does the signature answer it? |
|---|---|
| Has the file changed since it was signed? | Yes. Any change breaks the hash comparison. |
| Was it signed by the holder of this private key? | Yes, assuming the key was not stolen. |
| Who is the person behind that key? | Only as far as the certificate issuer checked them. |
| When was it signed? | Not by itself. That needs a timestamp from a third party. |
| Did the signer read or agree to the contents? | No. Intent comes from the signing process, not the maths. |
The mechanics, without the algebra
Hashing reduces a file of any size to a fixed string, and changing anything at all produces a completely different string. Signing encrypts that string with a private key that only the signer holds. Verification runs the same hash over the file you have, decrypts the signed value with the public key from the certificate, and compares. Two outcomes are possible: they match, in which case this file is byte for byte the file that was signed, or they differ, in which case something changed and the reader says so. There is no third state where the signature is probably fine.
Certificates are the weak joint
The maths is not usually where trust breaks down. A certificate says a key belongs to a named person or organisation, and that claim is only as good as the checks the issuer performed before signing it. A self signed certificate asserts identity with nothing behind it. A certificate from a commercial authority means somebody verified a company registration. A qualified certificate under European rules means a supervised provider checked an identity to a defined standard. Readers show this difference plainly: a valid signature from an unknown issuer still reports that the identity could not be confirmed.
Where it sits inside a PDF
The signature is stored in the file itself, under a signature dictionary, with the certificate and a hash of the byte ranges it covers. That structure is standardised, which is why any reader can check it without contacting the software that produced it. A certified signature adds a permission entry that says what may be done to the document afterwards, and at the strictest level any change at all invalidates it. Because the signature covers the bytes, anything appended later has to be appended before certification rather than after, which is a small constraint with large consequences for how a signing pipeline is ordered.
Where people get it wrong
Assuming a green tick means the person is who they claim, when it may only mean the file is intact. Assuming the date shown is proven, when without a timestamp token it came from the signer's own clock. Assuming a digital signature is required for a contract to bind, when the statutes ask for intent rather than cryptography. And assuming that a signature applied to page one covers pages that were swapped in afterwards, which it does, so the swap shows up as a broken signature rather than as a quietly altered document.
How the signed copy here is produced
Once every signer has finished, the completed PDF is signed as PAdES CMS from a P12 certificate and certified with DocMDP at permission level one, recorded as PAdES-SHA256-DocMDP. Nothing may be changed afterwards without breaking it, so where a certificate of completion is appended to the document, that append happens first. Timestamping is built and available but the timestamp authority address is empty in the deployed configuration, so signed files currently carry no RFC 3161 token and the recorded algorithm string says so.
Reading the signature panel in a viewer
Any full featured PDF reader will show a signature panel, and it repays a look. It reports whether the document has been modified since signing, who the certificate says signed it, whether the issuer is trusted on that machine, and whether a timestamp is present. Those are four separate findings and a reader collapses them into one icon, which is where confusion starts. A green tick usually means intact and trusted; a warning triangle often means intact but the issuer is unknown; a red cross means the bytes no longer match. The panel also lists the certificate chain and its validity dates, and it will tell you whether revocation was checked. None of this requires special software or an account, which is the practical advantage of a signature that lives inside the file: the person receiving it can verify it without asking the sender anything.
Questions people ask
Is a digital signature the same as an electronic signature?
No. Electronic signature is the legal category covering any mark made with intent to sign. A digital signature is one technology that can carry such a mark, using keys and hashes. Most business signing produces an electronic signature whose finished file is then sealed with a digital signature, so both terms describe the same transaction from different angles.
Do I need to buy a certificate to sign a contract?
Not for the contract to be valid. Certificates matter when the finished file has to prove its own integrity to someone who was not involved, or when a counterparty or regulator requires a defined assurance level. In a hosted signing service the certificate belongs to the service, and the evidence about the humans lives in the audit trail.
Can a digital signature be forged?
Not by defeating the maths with current algorithms and key sizes. The realistic attacks are on the edges: stealing a private key, tricking an issuer into certifying the wrong identity, or getting somebody to sign a document that is not what they thought. Protecting keys and checking issuers matters far more than the choice of algorithm.
What happens when the signing certificate expires?
A signature made while the certificate was valid does not stop being valid, but a reader may struggle to confirm that after the fact. Embedding revocation data and adding a timestamp at signing keeps it verifiable years later, which is the whole point of the long term validation levels in the PDF signature standards.
Why does my reader show a question mark on a valid file?
Because the certificate chain does not lead to a root the reader trusts. The document is intact and the signature is mathematically fine; what the reader will not do is vouch for the identity. Adding the issuer to the trusted list, or using an issuer already on it, changes the icon without changing the file.
Does a digital signature prove when signing happened?
Only if a timestamp token from an independent authority is attached. Without one, the date in the file comes from the signer's computer clock, which can be set to anything. That is why timestamping is treated as a separate feature in the standards rather than as part of the signature itself.
Make one with e-signatures
The button opens the generator with this use case already described. Change the wording to match your own.
Send a document for signingRelated questions
- What is a qualified electronic signature (QES)?A qualified electronic signature is the top eIDAS level: a qualified certificate, a qualified device, and the legal effect of a handwritten signature in the EU.
- What is an advanced electronic signature (AES)?An advanced electronic signature meets four eIDAS tests: uniquely linked, identifies the signatory, sole control, and any later change is detectable.
- What is PAdES?PAdES is the ETSI standard for digital signatures embedded in a PDF. What it adds over a plain signature, its levels, and how to spot one in a reader.
- What is a wet signature?A wet signature is ink on paper. What the term means, what ink actually proves, and the Australian documents that still expect a wet signature.
Step by step in the builder: Send a PDF for e-signature.
Written and checked by the OneCraft team. Last checked .