Tamas,
Tamas wrote:
>
> How can I appen an existing PDF with some kind of content (e.g Image) in a
> way sush that the new content has incremented generation number and the
> signature of the original contents (with the previous generation number)
> stays valid?
>
I'm afraid, iText does not itself generate objects with generation numbers
greater than 1. Hardly any PDF tool does, by the way.
This does not influence the validity of your signatures, though.
If you check the validity using iText, all your signatures should verify
just fine as you stamp in append mode.
If you check the validity using Adobe products, you either get a warning or
actually an error, depending on the version of those products you use. This
is due to what Adobe considers valid changes allowed after a signature is
applied.
Tamas wrote:
>
> iterate
> {
> The receiver person opens the PDF, modifies it (adding tables, images or
> comments) and signes the PDF doc with the "tool".
> The doc is forwarded to the next person.
> }
>
This does not sound like you respect the concept of allowed and disallowed
changes. Therefore, Adobe products likely will reject your signatures.
Tamas wrote:
>
> At the end of the process the PDF contains all of the versions and
> signetures belongs to the actual version created before.
> [...]
> The problem is that, the generation number of the image stays '0', so the
> first signature will be invalid.
> Please see the attached pdf files! ( 17 0 obj <</...)
>
The generation number does not reflect the document revision the object
belongs to. The revision an object belongs to only depends on its position
in the file.
The reason for the invalidity most likely is that the way you add the image
is recognized as a disallowed change by Adobe products.
Regards, Michael.
--
View this message in context:
http://old.nabble.com/Append-existing-signed-PDF-with-content-in-such-way-signature-stays-valid.-%28generation-next%29-tp26132337p26143404.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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
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/