Thanks a lot.

Your answer was really helpful.

 

Best wishes.

 

From: iText Info [mailto:i...@1t3xt.info] 
Sent: Tuesday, June 11, 2013 5:38 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Merging PDFs with signature fields

 

Op 11/06/2013 16:02, Kostas schreef:

Hello there.

Suppose that we use this PDF merging code on two PDFs that both contain
empty signature fields:

 

 <http://itextpdf.com/examples/iia.php?id=123>
http://itextpdf.com/examples/iia.php?id=123

 

When they get merged, every signature field will be for signing the page(s)
that used to belong to the initial PDF (not the merged one), right?

Also, does the merging change something in the way we set a TextField?

Feel free not to answer if you think you have better things to do.


Signature fields are fields, and as explained in chapter 6 (*) you shouldn't
use PdfCopy for documents with fields.
Instead, you should use PdfCopyFields:
http://itextpdf.com/examples/iia.php?id=126

Furthermore, as explained in the book about digital signatures (**), a
digital signature in a PDF (regardless whether or not the PDF initially
consisted of two different documents) always covers the complete document.
The concept where one signature covers pages A to B, and another signature
covers pages X to Z, doesn't exist in PDF.

In short: what you're saying is not "right"; you're trying to introduce a
concept that doesn't exist in PDF. You'll understand why it doesn't exist
once you start reading and understanding ISO-32000-1 (***).

(*) http://www.manning.com/lowagie2/samplechapter6.pdf
(**) http://itextpdf.com/book/digitalsignatures
(***) http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to