I finally succeeded... was a problem of corrupted files :(

However, checking the signerinfo , 
with 
sinfo.verify(messageDigest,ContentInfo.DATA,publickey);

I get an error : "PublicKey is not pkcs11"

which is strange as it is a java.security.publickey ... 
And when I try to convert it as org.mozilla.jss.pkcs11.PK11PubKey,
then I get another error at verification time , which crashes Tomcat :

"assertion failure :0, at secasn1d.c:1217


Well, any comments is welcome...

Regards, Irwin

Reply via email to