It's probably better that you create a small standalone example and post
it in the bouncycastle mailing list.

Paulo 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Rob Moore
> Sent: Wednesday, November 15, 2006 11:29 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Error verifying signature
> 
> I'm trying to verify the signature on a PDF document using iText and 
> have run into an issue. Initially, I was using the Java security 
> provider and experienced the error mentioned on this list previously 
> regarding a parsing error (sun.security.pkcs.ParsingException: 
> toDerInputStream rejects tag type -96). Taking the advice of those 
> posts, I switched to using the BouncyCastle provider. Now I'm getting 
> the following exception thrown:
> 
> Exception in thread "main" ExceptionConverter:
> java.security.cert.CRLException: java.lang.IllegalArgumentException:
> sequence wrong size for CertificateList
>     at
> org.bouncycastle.jce.provider.JDKX509CertificateFactory.engine
> GenerateCRL(Unknown 
> 
> Source)
>     at
> org.bouncycastle.jce.provider.JDKX509CertificateFactory.engine
> GenerateCRLs(Unknown 
> 
> Source)
>     at
> java.security.cert.CertificateFactory.generateCRLs(Certificate
> Factory.java:466) 
> 
>     at com.lowagie.text.pdf.PdfPKCS7.<init>(PdfPKCS7.java:250)
>     at 
> com.lowagie.text.pdf.AcroFields.verifySignature(AcroFields.java:1694)
>     at rkm.VerifySignature.main(VerifySignature.java:33)
> 
> Not sure if it matters, but I am trying to verify a document 
> created and 
> signed by Adobe Server 7.01. The signing certificate is for 
> testing only 
> but was issued using the GeoTrust CA for Adobe which was issued using 
> the Adobe Root CA.
> 
> I Googled this a bit and haven't found anything so I thought 
> I'd put it 
> to the list.
> 
> Thanks,
> 
> Rob
> 
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 


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.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to