iText doesn't support certificate security.
----- Original Message -----
From: "Rynhard Roos" <[EMAIL PROTECTED]>
To: <itext-questions@lists.sourceforge.net>
Sent: Wednesday, February 01, 2006 9:55 PM
Subject: [iText-questions] problem opening pdf with attachment
Hi
I have created a pdf document with a security policy that encrypts only
attachments. I then attached a file to the pdf. When I now try to open the
document with encrypted attachment using a PdfReader, the following error
is
thrown:
2006-02-01 16:29:40,709 INFO [STDOUT] java.lang.NullPointerException
2006-02-01 16:29:40,710 INFO [STDOUT] at
com.lowagie.text.pdf.PdfReader.readDecryptedDocObj(PdfReader.java:564)
2006-02-01 16:29:40,710 INFO [STDOUT] at
com.lowagie.text.pdf.PdfReader.readDocObj(PdfReader.java:969)
2006-02-01 16:29:40,710 INFO [STDOUT] at
com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:480)
2006-02-01 16:29:40,710 INFO [STDOUT] at
com.lowagie.text.pdf.PdfReader.<init>(PdfReader.java:175)
2006-02-01 16:29:40,710 INFO [STDOUT] at
com.lowagie.text.pdf.PdfReader.<init>(PdfReader.java:164)
I do not need to be able to read the attachment, only the main pdf
document's contents.
Any ideas how I will be able to access the main pdf?
I have attached a sample pdf with encrypted attachment.
Thanks
Rynhard
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions