mkl wrote: > Stephen, > > Stephen Byrne wrote: >> I am using iText to sign a document, save it to a file, read that file, >> add another signature, and save it to a second file. If I read my output >> files and verify the signatures with iText, they both verify. If I open >> the once-signed with Adobe Acrobat, it shows the signature as valid. I >> expected that if I opened the twice-signed file with Acrobat it would show >> both signatures as valid, but it shows the second signature as valid and >> the first as invalid. >> > > Would you share example documents demonstrating the problem? > > Indeed Acrobat and Reader have more requirements concerning the validity of > signatures than the mere matching of the hash value. They also allow only a > very limitted set of additions to the file after signing. These requirements > have become stricter and stricter for quite some time. And they may depend > on information in the early stage of the PDF. > > Regards, Michael.
The source PDF, output PDFs, and source code are at http://sbyrne.net/itext/multiplesig/ -- Stephen Byrne [email protected] (585) 286-5817 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
