The encrytion type 4 is not supported by iText. It meand that the standard
security handler is not used in that pdf.
Best Regards,
Paulo Soares
----- Original Message -----
From: "Adrian Fisher-Fleming" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 23:56
Subject: [iText-questions] Unknown encryption type Exception
Has anyone seen this error before?
java.io.IOException: Unknown encryption type (4) at
com.lowagie.text.pdf.PdfReader.readDecryptedDocObj(PdfReader.java:427)
at com.lowagie.text.pdf.PdfReader.readPdf(PdfReader.java:366)
at com.lowagie.text.pdf.PdfReader.<init>(PdfReader.java:127)
at com.lowagie.text.pdf.PdfReader.<init>(PdfReader.java:116)
It's failing here:
PdfReader pdfreader = new PdfReader(pdf);
I'm using iText 1.27. I'm trying to use the PdfReader on an Acrobat 6 (PDF
1.5) document that has some security turned on. I'm wondering if this is the
problem. Any ideas?
Adrian
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions