I want to read what permissions are set on a encrypted PDF, for example I want to know if the PDF can be printed or not.
So I open the PDF using "PdfReader" and test to see if the document is encrypted if it is then I want to check the permission to see if printing is allowed. When I get the permissions value it get back a -60, I know the AllowPrinting value is 2052 so I do I text for this?
I would like to figure out all the values that make up the permissions value