On 21/09/2011 15:07, Khatri Anand wrote: > Hello sir, > > I have 2 files. > 1:) Create a PDF file (Form.java) > 2:) Read a PDF File (Readform.java) > > I use writer.setEncryption(USER, OWNER, PdfWriter.ALLOW_PRINTING, > PdfWriter.STANDARD_ENCRYPTION_128);
OWNER may not be null. You have to remember the value of OWNER. > in Form.java file for Encryption. > When read a file from Readform.java file than I got error like You need to pass the value of OWNER to PdfReader. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ 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