fixing a corrupted signature

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

fixing a corrupted signature

by mcalmus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

------------------------------------------------------------------------------
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/

Re: fixing a corrupted signature

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike Calmus wrote:
> 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)?

No, as you haven't signed in append mode, the internal structure of the
PDF was changed, and you can't restore the original structure.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
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/