module Pdfcrypt:40-bit, 128-bit and AES Decryptionsig..end
Pdf.remove_unreferenced on the PDF)
before writing.
Encryption support is part of the Pdfwrite module.
type permission =
| |
NoEdit |
| |
NoPrint |
| |
NoCopy |
| |
NoAnnot |
| |
NoForms |
| |
NoExtract |
| |
NoAssemble |
| |
NoHqPrint |
val decrypt_pdf : string -> Pdf.pdfdoc -> Pdf.pdfdoc option * permission listval decrypt_pdf_owner : string -> Pdf.pdfdoc -> Pdf.pdfdoc option