On 08/23/2013 06:54 PM, iText Info wrote: > I don't have much time to answer (catching a flight), but I can tell you > that the example in the white paper is somewhat outdated. However, if > you look at the download page of the examples, you can find an example > that will replace the PreSign and PostSign code: > > http://sourceforge.net/p/itext/code/5969/tree/tutorial/signatures/src/main/java/signatures/chapter4/C4_09_DeferredSigning.java
Thank you. This gives me something to go on (this is a slightly different approach than I am using, although it doesn't mention timestamping). > The idea is to prepare the document for signing by creating an invalid > signature consisting of <0000...00> first in the method emptySignature() > and then afterwards replace the <0000..00> by a correct signature in the > method createSignature(). This is more or less what I am doing. The problem is that the timestamp doesn't get embedded in the signature, but the OCSP response does. > Please don't double post on this list as well as on StackOverflow. Sorry, I wasn't sure if it was tolerated or not. Made the wrong call. -bk ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&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