Ike Okafo wrote:
> I am using the IText library in .NET. A call to Dim reader As PdfReader 
> = New PdfReader(Server.MapPath(strPath & strfileName))
> works ok for an old pdf but when I try opening a newer version of the 
> pdf. I get the following error.
> 
> "Unknown encryption type (4)"
> 
> This does not happen with the old version of the pdf.
> Your help is much appreciated.

You'll have to be more specific. You do know that 128 bit encryption was 
introduced in PDF-1.4 and AES encryption in PDF-1.6. Do you have any 
idea if you are changing the encryption type between what you call your 
"old PDF" and your "new PDF". Your question is too vague for this list.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

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

Reply via email to