Hello,

I am using the example from Chapter 12 (
http://itextpdf.com/examples/iia.php?id=225
http://itextpdf.com/examples/iia.php?id=225 ) for signing using a timestamp
and OCSP.

On the line where estimated space is declared:

// preserve some space for the contents
int contentEstimated = 15000;

What is the source of that number, 15000?  I am inclined to replace it with
the number of bytes in my content input stream.  Am I mistaken?

I ask because a PDF that was previously 201 Kb when signing without a
timestamp is now 7.7 Mb when signing (five signatures) with the timestamp. 
Is this expected?  That seems extreme.
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Estimated-space-signing-with-timestamp-tp2537612p2537612.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/

Reply via email to