Hi all.
I've to sign/timestamp a PDF document.
I've been able to get it. The only problem I have is about the following
code:
...
int csize = 4483;
HashMap exc = new HashMap();
exc.put(PdfName.CONTENTS, new Integer(csize * 2 + 2));
...
where csize must be the exact size of the encoded signed data (the code is
too long to be fully posted).
The problem is that that code must be called *before* I actually sign the
PDF, so I have to guess how many bytes to reserve.
Do I have any way to set that value *after* I sign the document?
Looking through the mailing list, I read Paulo told that:
"
If you use the automatic way it's all taken care for you; if you use
external
signatures the control is on your side.
"
Is there any way I can use the automatic way and put the signature timestamp
too?
Many thanks in advance,
Massimiliano Ziccardi
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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