Aritz, Aritz_85 wrote > I have a PDF with 6 empty signature fields, and also it has several > annotations (links) from a TOC. > > The problem is when Adobe renders the signed PDF, I get a warning > (Annotation Warning) that advices link annot on page 3. > > But it only happens for non-certified signatures [...] > > I suppose something is wrong on my original pdf, but I cannot find what it > is. Do you have an idea about it? I know it is a warning and signatures > are valid, but for end user it could be strange to have this warning.
Adding a second signature to FirstSign.pdf using Adobe Reader instead of your signing solution, you will find that the Adobe signing result does not make such a warning show up! Comparing that second signature made by Adobe with your SecondSign.pdf, you'll find that the main difference is that * your signing solution only adds a signature dictionary value and a signature appearance to the newly signed signature field but * Adobe Reader additionally adds an appearance stream to the file attachment annotation on page 44 which did not have one before. This may indeed explain why Adobe Reader is warning: The file attachment annotation on page 44 of your NotSigned.pdf does not have an appearance stream. This is perfectly ok, a PDF viewer is expected to provide an appropriate appearance. Then the document is certified with explicit access permissions allowing annotation creation, deletion, and modification resulting in FirstSign.pdf. When this document is displayed, the annotation appearance on page 44 is provided and shown, but due to the explicit permissions that is ok. Then the document is approved with a signature without any further explicit permission information, resulting in SecondSign.pdf. When this document is displayed, the annotation appearance on page 44 is provided and shown; now Adobe Reader warns about this, probably because there is no information in the new signature that that signer expects annotation changes to occur. Thus, your assumption that "something is wrong on my original pdf" does not hold; your signing process is incomplete! Admittedly it is incomplete in a manner many signers are with the notable exceptions of Adobe Reader / Acrobat. I am not sure why Adobe Reader warns about a link change on page 3 while the focus actually should be on page 44. Probably this happens because there is a link on page 3 to page 44... Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Problem-After-Singning-PDF-tp4660402p4660406.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&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