Documentation
¶
Overview ¶
Sign demonstrates digitally signing a PDF with a PAdES B-B signature.
The example generates a self-signed RSA certificate at runtime (for demonstration only — production use requires a real certificate from a trusted CA), creates a PDF, and signs it.
PAdES conformance levels supported by Folio:
- B-B: basic signature (this example)
- B-T: adds an RFC 3161 timestamp (requires a TSA server)
- B-LT: embeds revocation data in a Document Security Store
- B-LTA: adds a document timestamp for long-term archival
Usage:
go run ./examples/sign
Click to show internal directories.
Click to hide internal directories.