PdfFileSecurity seems to have a bug similar to the one found in PdfFileInfo*. If I use the following code on our test document (see attachment for details), all links after page 12 are corrupt.
String inFile = "docobfuscated.pdf";
String outFile = "docobfuscated.out.pdf";
PdfFileSecurity fileSecurity = new PdfFileSecurity(inFile, outFile);
fileSecurity.encryptFile(null, "testpassword", priv, true);
Could you please check this and provide a fix?
*: <A href="https://forum.aspose.com/t/102843</A></P>