Hi everyone,

I'm trying to verify a pdf signature using the same code that is at 
http://itextpdf.sourceforge.net/howtosign.html#howtoverify
http://itextpdf.sourceforge.net/howtosign.html#howtoverify  and I get the
following error:

java.security.NoSuchAlgorithmException: 1.2.840.113549.1.1.1 MessageDigest
not available
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:142)
        at java.security.Security.getImpl(Security.java:659)
        at java.security.MessageDigest.getInstance(MessageDigest.java:129)
        at com.lowagie.text.pdf.PdfPKCS7.<init>(PdfPKCS7.java:310)
        at
com.lowagie.text.pdf.AcroFields.verifySignature(AcroFields.java:1838)
        at
com.lowagie.text.pdf.AcroFields.verifySignature(AcroFields.java:1794)
        ...

I'm using: 
- JDK1.6u12 
- iText 2.1.4 
- bouncyCastle version 1.41 for jdk1.6

I changed the provider BC for SUN and I get the same error. I read others
post and may be is a enviroment problem or compatibility between  the used
libraries.
If someone has a solution...

thanks...

-- 
View this message in context: 
http://www.nabble.com/Verifying-signature%21%21-NoSuchAlgorithmException%3A-1.2.840.113549.1.1.1-tp23673079p23673079.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to