2

I am trying to get access to the /Encrypt dictionary in the Trailer to check permissions on a PDF. CGPDFDocument only gives access to the Info and Root (top level) dictionaries it seems.

CGPDFDocumentGetCatalog CGPDFDocumentGetNumberOfPages CGPDFDocumentGetPage CGPDFDocumentGetVersion CGPDFDocumentGetInfo CGPDFDocumentGetID

Any ideas on how to get to the file permissions beyond Printing and Copying ?

CGPDFDocumentAllowsCopying CGPDFDocumentAllowsPrinting

pchronos
  • 81
  • 3

0 Answers0