You need at least 2.1.7 and other corrections were introduced in 5.0.x.

Paulo

________________________________
From: D'Angelo, Adam [mailto:[email protected]]
Sent: Monday, November 29, 2010 5:44 PM
To: [email protected]
Subject: [iText-questions] Acroform verifySignature() PdfPKCS7 error with 
SHA256 in iText 2.1.3

We are currently using iText 2.1.3 to pull an Entrust certificate from a PDF.  
Up until recently the encryption of these certs has been SHA1.  However, due to 
pending security infrastructure changes, all certificates will be SHA256 going 
forward.  While testing with the newer SHA256 Entrust certs we receive the 
following error:

com.lowagie.text.ExceptionConverter: 2.16.840.1.101.3.4.2.1 MessageDigest not 
available

This error is thrown from this line of code:

//form is an AcroFields form
PdfPKCS7 pk = form.verifySignature(signatureFieldName);

What version of iText supports SHA256?  Is there a way to resolve this issue 
without updating the version of iText we are using?

Thanks,

Adam D'Angelo, PMP | [email protected]<mailto:[email protected]>



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.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
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