Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-17 Thread mkl
Alexander, Alexander Raitskin wrote > I've added these lines to the code: [...] > > Now it seems that the message digest is in the signed attributes too. > However, the file is still does not pass the validation of Foxit... As Paulo has initially suggested, you now should really forward this iss

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Alexander Raitskin
12 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit Paulo, Dániel, Raitskin, Paulo Soares-3 wrote > If iText is producing damaged PDFs please tell where. As far as we know > there are no issues here. You should real

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread mkl
Paulo Soares-3 wrote > Unless Foxit fixes it, they will have to complain to Microsoft. Well, at least they should say what they require in a CMS signature container to accept it. If they indeed require the ESS signing-vertificate[-v2] for security and stated that in a verification failure message

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Leonard Rosenthol
Yes, but that's VERY different than saying a signed PDF is not signed (or vice versa). Leonard On 1/16/12 2:10 AM, "Dániel Kékesi" wrote: >But we also know that Adobe Reader is quite forgiving regarding >off-spec/damaged PDFs. > >Daniel > >On 2012.01.16. 11:07, Paulo Soares wrote: >> You'll hav

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Paulo Soares
@lists.sourceforge.net Subject: Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit Raitskin, Paulo, first I have to revise my former words: mkl wrote > Its single SignerInfo (see below) does not contain any attributes, neither > signed nor unsigne

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread mkl
Raitskin, Paulo, first I have to revise my former words: mkl wrote > Its single SignerInfo (see below) does not contain any attributes, neither > signed nor unsigned ones, especially not a MessageDigest. For a > "adbe.pkcs7.detached" kind of signature this to me seems wrong. As a > signature of t

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Alexander Raitskin
itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit Paulo, Dániel, Raitskin, Paulo Soares-3 wrote > If iText is producing damaged PDFs please tell where. As far as we know > there are no issues here. You sh

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread mkl
Paulo, Dániel, Raitskin, Paulo Soares-3 wrote > If iText is producing damaged PDFs please tell where. As far as we know > there are no issues here. You should really take to problem to the Foxit > team, it's their application that is complaining, they should know why. Yes, it's Foxit that is comp

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Dániel Kékesi
I didn't say that it was iText's fault to produce a bad PDF (IF - and it's a BIG IF - it is indeed a bad PDF), but it might be due to the implementation of iText in this specific task (iText is just a tool, and like any tool it can be used to create a masterpiece or garbage). Maybe the PDF was n

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Paulo Soares
o:dan...@kekesi.com] Sent: Monday, January 16, 2012 10:11 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit But we also know that Adobe Reader is quite forgiving regarding off-spec/damaged PDFs. Daniel On 2012.01.1

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Dániel Kékesi
But we also know that Adobe Reader is quite forgiving regarding off-spec/damaged PDFs. Daniel On 2012.01.16. 11:07, Paulo Soares wrote: > You'll have to take the problem to Foxit. It works correctly with Acrobat, > doesn't it? > Paulo > --

Re: [iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-16 Thread Paulo Soares
s] Digital sigantures generated with itext are not valid in Foxit Hello, I tried two methods to sign on a PDF file with itext: This one uses .NET CmsSigner: http://itextpdf.sourceforge.net/howtosign.html#signtsocspcs I've signed a simple file this way and I got this: http://www.darina.u

[iText-questions] Digital sigantures generated with itext are not valid in Foxit

2012-01-15 Thread Alexander Raitskin
Hello, I tried two methods to sign on a PDF file with itext: This one uses .NET CmsSigner: http://itextpdf.sourceforge.net/howtosign.html#signtsocspcs I've signed a simple file this way and I got this: http://www.darina.us/code/uploader/adobe.pdf And this uses java keystore: http://itextpd