chiba jappu writes:

> Hi!,
> I am very new to iText as well as Java. I have downloaded iText and also 
> the Encrypt java source. I was able to compile the source. But when I try 
> to run the command java Encrypt srcfile destfile password it gives error.
> Java.io.IOException : Dictionary key is not a name. at File Pointer 1937.

This exception is thrown when the is a Dictionary in your
original PDF file that contains a key that is not a name.
Maybe your PDF file wasn't generated conform to the PDF Reference
Manual or maybe there is some garbage in your PDF file so that
the PdfReader class doesn't recognize the key as being a name.

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to