Re: fixing a corrupted signature

View: New views
1 Messages — Rating Filter:   Alert me  

Re: fixing a corrupted signature

by mkl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike,

I'm afraid there's is no chance for you to get back to a state where the original software is not broken. Signing (or more generally stamping) a PDF document without having append mode turned on allows iText to throw away unused parts of the existing PDF. This includes any objects that are replaced in the new signed/stamped document version.

Thus, there are losses in your documents which cannot be reversed; and, therefore, you virtually have no chance at all to go back.

Regards,   Michael.

------------------------------------------------
From: Mike Calmus [mailto:mcalmus@...]
Sent: Friday, November 06, 2009 2:56 PM
To: itext-questions@...
Subject: [iText-questions] fixing a corrupted signature


We have been using iText for quite some time for filling and signing PDFs. One of these PDFs is signed first by the person to whom it applies and then by the certifying official. We recently realized the signature had not been done with the "append" flag turned on. As such all of our stored files have a valid certifying signature but the original signature is invalid. Acrobat Reader says "The signature byte range is invalid". Is it possible to either fix this first signature or strip out the second signature (thereby making the original signing valid)? Code samples would be helpful.

Thanks.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/