I'm using iText 2.1.3 to create encrypted PDFs on JDK 1.4 and it works well.

I also need to support our product under JDK1.3 for a while longer. I've 
downloaded and compiled the iText 2.1.3 source for JDK 1.3 and I'm also using 
Bouncy Castle 141 for JDK 1.3 that includes the JCE.  It works, but runs very 
slow when the PDF is encrypted. This is how I'm setting the encryption...
writer.setEncryption(null, getOwnerPassword(pdfFilename), 
PdfWriter.ALLOW_PRINTING, PdfWriter.STANDARD_ENCRYPTION_128);

Why is so slow compared to JDK 1.4 and is there any way to speed it up? Am I 
missing some property setting?

Thanks,

Steve Cole
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to