Yet more fun with iText and PDF signing from me.
I have a simple PDF with a simple signature field. That signature field has
the /TU entry set but after it has been signed with iText the newly filled
signature field does not contain the /TU entry any more.
The result is the same with a new revision (PdfStamper.createSignature(...,
true)) and without ((PdfStamper.createSignature(..., false)).

The Acrobat carries all field dictionary entries over to the filled field
(including any third party attributes that start with /XX), but iText
dosn't.

I use createSignature() and then set the signature name with
setVisibleSignature() to that of the empty field to fill it.
Is there another way to fill signature fields or can I somehow manually add
additional dictinary attributes to the signature field just before I do the
close/preclose?

I attached a PDF and the results with new revision(true) and without(false)

-Robert

Attachment: Bsp.pdf
Description: Adobe PDF document

Attachment: Bsp_true.pdf
Description: Adobe PDF document

Attachment: Bsp_false.pdf
Description: Adobe PDF document

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to