[email protected] wrote:
> Thanks for answering my question.

DO NOT REPLY TO PERSONAL E-MAIL ADDRESSES.
REPLY TO THE LIST!

> One problem I am trying to solve is as follows.
> I need to present a PDF document to 2 users to sign.

Recipient signatures. Not author signatures. OK?
(Please use the correct terminology; otherwise you
sound as if you have no clue about what you are doing;
which isn't very professional for an employee of EDS.)

> When I present the document to the first user, the document
> should not have the second signature or hide the second signature.

Should not have!
Signing creates revisions.
Revision 1 of 2 of the document will have signature 1.
Revision 2 of 2 of the document will have signature 1 and 2.

> After the first user signs the first signature, I will add the
> second signature or make the second signature visible and present
> the document to the second user.  

OK.

> I want to see when I do that is there a way not to invalidate the
> first signature. 

Please read the documentation!!!
As explained in chapter 16 of "iText in Action"; you MAY NOT
CHANGE the existing PDF file, but you need to use APPEND MODE.
See for instance: http://1t3xt.be/?X000014
There's an example that has two signatures.
This is the key line:
PdfStamper stamper =
  PdfStamper.createSignature(reader, os, '\0', null, true);
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to