Hi.
Im developing a login system for a webapp using ooapi and the OpenSign applet.
The certificate im using is a systemtest certificate. The verification of the
signature
from the applet works fine, and im am able to create and verify the
OcesCertificate object. When i try to check if the certificate is revoked i get
an error. I am using the
OCSPCertificateValidator(). I have altered the source of
OCSPCertificateValidator.java, to print a stacktrace of what happens in the
isRevoked(OcesCertificate c) method. Apparently the error occurs when trying to
create a org.bouncycastle.ocsp.CertificateID in line 130.
I am using bouncycastle crypto api v 1.3.6
[ooapi.validation.cert.OCSPCertificateValidator] isRevoked class
org.bouncycastle.ocsp.OCSPException
[ooapi.validation.cert.OCSPCertificateValidator] isRevoked problem creating ID:
java.security.NoSuchProviderException: no such provider: BC
[ooapi.validation.cert.OCSPCertificateValidator] isRevoked
org.bouncycastle.ocsp.CertificateID.<init>(Unknown Source)
org.bouncycastle.ocsp.CertificateID.<init>(Unknown Source)
org.openoces.ooapi.validation.cert.OCSPCertificateValidator.isRevoked(OCSPCertificateValidator.java:130)
org.openoces.ooapi.validation.cert.RevocationChecker.isRevoked(RevocationChecker.java:61)
org.openoces.ooapi.cert.OcesCertificate.verify(OcesCertificate.java:228)
org.openoces.ooapi.cert.OcesCertificate.verify(OcesCertificate.java:198)
...
I only have a systemtest certificate, so i haven't been able to test with a
production certificate. Any ideas on why this error occurs?
Regards
Kristian Andersen
Translucent Aps
_______________________________________________
Developer mailing list
[email protected]
https://www.openoces.org/mailman/listinfo/developer