huang_jihua, huang_jihua wrote > However, I found that some files are attached some useless data, using > adobe reader can verify, but through itext not be verified.
Strictly speaking those PDFs are broken. The specification requires: > The last line of the file shall contain only the end-of-file marker, > %%EOF. Adobe Reader tries to be nice by accepting the PDF and ignoring the added bytes. iText in its signature analysis is stricter: After all the PDF has been changed by adding those extra bytes not included in the signature. But as those PDFs actually are broken, wondering whether the signature is valid essentially is a futile task. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Is-this-a-bug-about-itext-verify-signature-tp4658840p4658845.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php