Re: [iText-questions] Hash computation problem

2009-12-09 Thread rcrivano
Hi Antonio Mariano, I've been facing the exact same problem here. Would you mind to share your changes in iText source code, so that me and possibly others can implement them? Thank you very much in advance! []s, Renato Crivano amarianoelaide wrote: > > Hi all, > just a question about the

Re: [iText-questions] Hash computation problem

2009-04-03 Thread mkl
. Regards, Michael. -Original Message- From: amarianoelaide [mailto:amari...@elaide.com] Sent: Thursday, April 02, 2009 4:22 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Hash computation problem Thank you so much again. I ask you the last question for this

Re: [iText-questions] Hash computation problem

2009-04-03 Thread mkl
. Regards, Michael. -Original Message- From: amarianoelaide [mailto:amari...@elaide.com] Sent: Thursday, April 02, 2009 4:22 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Hash computation problem Thank you so much again. I ask you the last question for this

Re: [iText-questions] Hash computation problem

2009-04-02 Thread Paulo Soares
April 02, 2009 3:21 PM Subject: Re: [iText-questions] Hash computation problem Thank you so much again. I ask you the last question for this thread. Considering all your answers and pdf specs, it seems that deferred signature is not a truly supportable PDF procedure. Is it right? -- View thi

Re: [iText-questions] Hash computation problem

2009-04-02 Thread amarianoelaide
Thank you so much again. I ask you the last question for this thread. Considering all your answers and pdf specs, it seems that deferred signature is not a truly supportable PDF procedure. Is it right? -- View this message in context: http://www.nabble.com/Hash-computation-problem-tp22801988p2

Re: [iText-questions] Hash computation problem

2009-04-02 Thread mkl
Subject: Re: [iText-questions] Hash computation problem Thank you for the ultra-complete answer. But what about if I don't remove ModDate and fileID but simply modify the code to pass them to the library? Is it possible, and do I avoid those problems you pointed out? -- View this messa

Re: [iText-questions] Hash computation problem

2009-04-02 Thread amarianoelaide
Thank you for the ultra-complete answer. But what about if I don't remove ModDate and fileID but simply modify the code to pass them to the library? Is it possible, and do I avoid those problems you pointed out? -- View this message in context: http://www.nabble.com/Hash-computation-problem-tp22

Re: [iText-questions] Hash computation problem

2009-04-02 Thread Leonard Rosenthol
: Thursday, April 02, 2009 6:14 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Hash computation problem Ok, great! But would it be possible to modify (in future releases) the iText file creation procedure so to allow users to choose if they want hash to change each time or

Re: [iText-questions] Hash computation problem

2009-04-02 Thread Leonard Rosenthol
009 3:50 AM To: itext-questions@lists.sourceforge.net 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

Re: [iText-questions] Hash computation problem

2009-04-02 Thread amarianoelaide
Ok, great! But would it be possible to modify (in future releases) the iText file creation procedure so to allow users to choose if they want hash to change each time or not? In this way it would be possible to use iText for referred signature. Just a suggestion.:-) -- View this message in co

Re: [iText-questions] Hash computation problem

2009-04-02 Thread mkl
2009 9:50 AM To: itext-questions@lists.sourceforge.net 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

Re: [iText-questions] Hash computation problem

2009-04-02 Thread Paulo Soares
If it works with Acrobat it's ok. Paulo - Original Message - From: "amarianoelaide" To: 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.

Re: [iText-questions] Hash computation problem

2009-04-02 Thread amarianoelaide
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

Re: [iText-questions] Hash computation problem

2009-03-31 Thread Mike Marchywka
> Date: Tue, 31 Mar 2009 04:59:07 -0700 > From: spam haven CT > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Hash computation problem > > > Thank you Paulo. > Anyway I'd like to know more abou

Re: [iText-questions] Hash computation problem

2009-03-31 Thread Paulo Soares
ch 31, 2009 12:59 PM Subject: Re: [iText-questions] Hash computation problem Thank you Paulo. Anyway I'd like to know more about this aspect. Which object (stamper, signature appearance) does generate this ID (is a sort of pseudo-random identifier)? Is this ID saved into the final pdf? Ca

Re: [iText-questions] Hash computation problem

2009-03-31 Thread amarianoelaide
Thank you Paulo. Anyway I'd like to know more about this aspect. Which object (stamper, signature appearance) does generate this ID (is a sort of pseudo-random identifier)? Is this ID saved into the final pdf? Can you give me a link to a document containing this aspects? Thank you again -- View

Re: [iText-questions] Hash computation problem

2009-03-31 Thread Paulo Soares
Each time the program is run a different /ID is generated. This is a PDF thing ad can't be changed. Paulo - Original Message - From: "amarianoelaide" To: Sent: Tuesday, March 31, 2009 11:02 AM Subject: [iText-questions] Hash computation problem Hi all, just a que

[iText-questions] Hash computation problem

2009-03-31 Thread amarianoelaide
Hi all, just a question about the hash computation. With reference to this code: PdfReader pdfReader = new PdfReader("/home/amariano/Desktop/sample.pdf"); FileOutputStream PdfInMemory = new FileOutputStream("/home/amariano/Desktop/out.pdf"); PdfStamper pdfStamper = PdfStamper.createSignature(pdf