On 19/07/2011 12:06, aeternum wrote: > Has anyone an idea what could be wrong with this code? Or is there an issue > with the encryption function of the iText release 2.1.7? The standard answer is iText 2.1.7 is no longer supported, but that doesn't help you as you have no other option of using that version.
I'm 99% sure there are no issues with the encryption function in 2.1.7, and you can easily check this by writing a small standalone example trying to reproduce the problem. Make sure you have the BouncyCastle jars in your CLASSPATH. (Normally your application should throw a ClassNotFoundException if you forgot them; did you check your logs for such an exception?) ------------------------------------------------------------------------------ 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