Some algorithms are not coded but will in the next release.

Paulo 

> -----Original Message-----
> From: RobertQ [mailto:[email protected]] 
> Sent: Friday, May 22, 2009 4:39 PM
> To: [email protected]
> Subject: [iText-questions] Verifying signature!! 
> NoSuchAlgorithmException: 1.2.840.113549.1.1.1
> 
> 
> 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...


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.


------------------------------------------------------------------------------
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