Hello, how can we obtain the Document Restriction Summary from a PDF using PDFBox?
We can actually manage without any issues the Permissions properties but not the Restrictions. To be more specific the problem is that we have to sign a document in of a document management process but in case of the document is previously signed and blocked by the owner we need to detect it before to add a second signature to avoid to broke the previous signature. We have seen into the document restrictions that there is a parameter named "signature" that can be "allowed" or "not allowed" and we need to be able to read this value using PDFbox from pdf before to add the digital signature. It seems that it is a common problem and I've found for example the same question here by other person: https://community.oracle.com/tech/developers/discussion/4495150/access-permi ssions-not-reflecting-on-pdf-document-restriction-summary-using-pdfbox but not able to find any answers. Can someone help me to find the right function to get and parse restrictions? Thank you in advance Roberto