Can you verify it with Reader? If you can, please the PDF for inspection.

Paulo

On Thu, Jul 5, 2012 at 3:06 PM, zouzou <[email protected]> wrote:
> Hello everyone,
>
> currently I use the latest version of iText I can sign a pdf with the sha256
> parcontre moùent verification is done with the code of iText fails!
>
> Here is the exception thrown:
>
> ExceptionConverter: java.security.InvalidKeyException: Illegal Key must not
> be null
> Has sun.security.rsa.RSAKeyFactory.engineTranslateKey (Unknown Source)
> Has sun.security.rsa.RSAKeyFactory.toRSAKey (Unknown Source)
> Has sun.security.rsa.RSASignature.engineInitVerify (Unknown Source)
> Has java.security.Signature $ Delegate.engineInitVerify (Unknown Source)
> Has java.security.Signature.initVerify (Unknown Source)
> Has iaik.pkcs.pkcs11.provider.signatures.PKCS11Signature.engineInitVerify
> (PKCS11Signature.java: 317)
> Has java.security.Signature $ Delegate.init (Unknown Source)
> Has java.security.Signature $ Delegate.chooseProvider (Unknown Source)
> Has java.security.Signature $ Delegate.engineInitVerify (Unknown Source)
> Has java.security.Signature.initVerify (Unknown Source)
> Has com.itextpdf.text.pdf.security.PdfPKCS7. <init> (PdfPKCS7.java: 392)
> Has com.itextpdf.text.pdf.security.PdfPKCS7. <init> (PdfPKCS7.java: 225)
> Has com.itextpdf.text.pdf.AcroFields.verifySignature (AcroFields.java: 2308)
> Has com.itextpdf.text.pdf.AcroFields.verifySignature (AcroFields.java: 2258)
> Has myPackage.DocumentPDFSigne.verifierPDF (DocumentPDFSigne.java: 317)
>
>
> On reading this error stack we can see that the signing certificate does not
> contain the public key but this is not the case because my signing
> certificate contain the key public good.
>
> Is there someone who can tell me more about?
>
> Maybe you too have already experience this problem.
>
> Thank you for your help.
>
> --
> View this message in context: 
> http://itext-general.2136553.n4.nabble.com/iText-and-signing-pdf-fils-tp4655392p4655534.html
> Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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