Can anyone tell me is it possible to verify SECCLAB generated signature,
using the Bouncy Castle Provider?
I used the SECCLAB XUL Test Form to sign a simple text file, but when I
try to verify it, I get an exception:
java.lang.NegativeArraySizeException
at org.bouncycastle.asn1.DERInputStream.readObject(DERInputStream.java:248)
at org.bouncycastle.jce.PKCS7SignedData.<init>(PKCS7SignedData.java:110)
at org.bouncycastle.jce.PKCS7SignedData.<init>(PKCS7SignedData.java:89)
at
com.tlogica.dkck.tests.VerifyPKCS7SignedData.main(VerifyPKCS7SignedData.java:129)
Using almost identical code I am able to verify a MS CAPICOM generated
detached signature without any problem.
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto
