There's an example here:
http://sourceforge.net/p/itext/code/HEAD/tree/tutorial/signatures/src/main/java/signatures/chapter4/C4_09_DeferredSigning.java

On 15/06/2013 21:48, Jonathan Vargas wrote:
/Procedure 1 by Application A:/

[FULL PDF]  -> Extract Digest -> [DOC's DIGEST]


Well, ask Michael explained, you need to create a PDF that looks like it's signed but that isn't.
The signature will consist of <000000000...000>

/Procedure 2 by Application B:/

[DOC's DIGEST]  -> Create Signature -> [DIGEST SIGNATURE]

This procedure could be called from an ExternalSignatureContainer implementation. It has a sign() method that receives the digest that needs to be signed as an InputStream.

/Procedure 3 by Application A:/

[DIGEST SIGNATURE]  -> Apply Signature -> [FULL PDF]


That's done in the signDeferred() method.
It takes the file created in Procedure 1, calls the sign() method mentioned in Procedure 2, and applies the signature.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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

Reply via email to