docs/tools/digital-sign-pdf.md
A digital signature is cryptographic proof that a specific person signed a document and that the document has not been altered since. Unlike a drawn signature (which is just an image), a digital signature uses X.509 certificates and PKCS#7 standards to provide verifiable authenticity and integrity.
BentoPDF applies digital signatures entirely in your browser. Your private key never leaves your device.
| Format | Extensions | Description |
|---|---|---|
| PKCS#12 | .pfx, .p12 | Industry-standard bundle containing the private key and certificate chain. Most common format. |
| PEM | .pem | Text-based format. Must contain both the certificate and private key in one file. Supports encrypted private keys. |
When enabled, a visible signature block is rendered on the PDF page:
Signing may require an internet connection. The signing library fetches the certificate chain from URLs embedded in your certificate's Authority Information Access (AIA) extension. If those servers are unreachable, signing will fail for certificates that require chain validation.