If it works with Acrobat it's ok.

Paulo

----- Original Message ----- 
From: "amarianoelaide" <[email protected]>
To: <[email protected]>
Sent: Thursday, April 02, 2009 8:50 AM
Subject: Re: [iText-questions] Hash computation problem



Thank you again Paulo.
Yes it's true, I need to realize a deferred signature.
So I tried to "adapt" iText to my needs and I modified the src code.
The differences between two consecutive hash computations are caused by:
- the file ID (md5 of date, free space and a sequence)
- the ModDate that it's impossible to eliminate also using this code (while
it's possible for CreationDate):

HashMap<String, String> info = (HashMap<String, String>)pdfReader.getInfo();
info.put("ModDate", null);

Now that I have reached my goal, I'd like gently to know which are the
problems that these changes can cause?
Obviously I won't be aligned with future versions of iText but will my pdf
files be valid and
will they respect the Adobe standards (Acrobat doesn't find anything wrong)?

10x
-- 
View this message in context: 
http://www.nabble.com/Hash-computation-problem-tp22801988p22842675.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
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 


------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to