module Pdfcrypt:sig
..end
Pdf.remove_unreferenced
on the PDF)
before writing.
Encryption support is part of the Pdfwrite
module, since files are encrypted when they're written.
val crypt_debug : bool Pervasives.ref
type
permission =
| |
NoEdit |
| |
NoPrint |
| |
NoCopy |
| |
NoAnnot |
| |
NoForms |
| |
NoExtract |
| |
NoAssemble |
| |
NoHqPrint |
val decrypt_pdf : ?keyfromowner:string ->
string -> Pdf.t -> Pdf.t option * permission list
val decrypt_pdf_owner : string -> Pdf.t -> Pdf.t option
val is_encrypted : Pdf.t -> bool