Jose Antonio wrote:
> Hi everybody, I'm working with itext 2.0.5 and I hava a problem: I have 
> a signed pdf and I want to modify this file. The problem is that if I 
> change this file the signatured becomes invalid. I wonder if I can 
> create a new revision of this file first using itext and make all the 
> changes in this new revision. All I've found about creating new 
> revisions using itext talks about using stamper.createSignature method. 
> But I don't want to sign the file; I just want to modify it keeping the 
> signature.

See:
http://itext.ugent.be/itext-in-action/examples/chapter18/HelloWorld.java

HelloWorld.pdf is the original PDF.
updated.pdf is a new revision keeping HelloWorld.pdf intact.
No signatures are involved. You should have a close look at
the PdfStamper constructor that is used for updated.pdf.
br,
Bruno

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to