The signature is copied to this much larger array and the empty space at the end is filled with zeros. What you put in the PDF is always this larger array for which you made space for.
Paulo ----- Original Message ----- From: "Massimiliano Ziccardi" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Friday, August 22, 2008 2:36 PM Subject: Re: [iText-questions] Problem with PDF Signature >You can always use a MUCH LARGER value (say 8000 bytes). That's what >Acrobat and most other implementations do is double the expected size, >so that there is room to grow. If I even set the size a byte bigger than the signature size, Acrobat says the file has been changed and the signature is not valid. >You mean for attributes not already covered by the PDF standard, >correct? I mean, for example, the signature timestamp token. ------------------------------------------------------------------------- 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
