Thank you, the fix looks good.

Paulo

________________________________
From: Piotr Rojewski [mailto:piotr.rojew...@unizeto.pl]
Sent: Thursday, October 21, 2010 8:10 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] PDF PKCS7 Interpretation

Hi,

I'm using the iText library to version 5.0.4. When verifying the signature in 
the sample document that I send the attachment as Sample.pdf, obtained the 
result is false. Verification of the Adobe Acrobat Reader version 9.4.0 ends 
properly.
When I look at PdfPKCS7.java file, I noticed different way of verification 
signature from the document when the signature of a PKCS # 7 contains the 
Content set to PKCS # 7 Data. I noticed that there is the hash of the signed 
document (messageDigest). That is why I made these changes, which is sending in 
the attachment (PdfPKCS7.java after changes and PdfPKCS7.java.diff).

Please check whether the correction and my way of thinking is correct.

Regards,
Piotr Rojewski


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to