Works for me with your pdf and the latest iText version.
> -----Original Message-----
> From: itext-questions-admin@(protected)
> [mailto:itext-questions-admin@(protected)
> Behalf Of iText
> Sent: Monday, August 29, 2005 4:14 PM
> To: itext-questions@(protected)
> Subject: [iText-questions] Dictionary key is not a name
>
> Good Morning,
>
> I have been using iText to encrypt PDFs for a couple of years
> now and have
> had no significant problems that I have been unable to overcome.
>
> However, when encrypting a new PDF that I am generating, I am
> now getting an
> error:
>
java.io.IOException: Dictionary key is not a name. at
> file pointer 278
>
> The stacktrace is:
>
>
> I assume that there must be something malformed about the PDF i have
> generated but am unable to tell in which way it is incorrect.
>
> The PDF file that I am attempting to encrypt can be found at
> http://www.hydeout.org/CCSTMT036361.pdf
>
> Can someone please tell me if they can see where this PDF is
> incorrect?
> In addition, is there a class available that can be used to
> validate a PDF?
>
> Thanks in advance for any help
> Troy
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development
> Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> iText-questions mailing list
> iText-questions@(protected)
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions