On 19/07/2011 14:02, aeternum wrote: > When using iText 5.1 with JDK 1.6.0_26 and this code it works just great... I > am totally lost now I can't think of a reason why it wouldn't work in iText 2.1.7. I see that you've now tried using different passwords for user and owner, so we've ruled that out as a possible cause. I'm lost too.
What if you change the encryption type (Standard encryption instead of AES)? What if you use a different method, for instead PdfEncryptor instead of PdfStamper? ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php