hichiu,

hichiu wrote
> It works really great for my first signing without annotation modified
> warning. But here comes another problem discovered... when i made the
> second signing and annotation by the same code, the annotation modified
> warning appear again for the annotation added after first digital sign.
> blank_2.pdf
> <http://itext-general.2136553.n4.nabble.com/file/n4659447/blank_2.pdf>  

You use the same /NM values ("a" and "aa") for the two annotations added
during your second signing as for those two annotations added during the
first signing.

As the /NM value is defined as "The annotation name, a text string uniquely
identifying it among all the annotations on its page," those identical /NM
values constitute an error which Adobe Reader fixes by changing some of
these values to unique new strings.

Thus, use unique names, e.g. by resorting to guids like Adobe does.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Itextsharp-annotations-modified-after-digital-signing-tp4659401p4659449.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
[email protected]
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

Reply via email to