[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [iaik-jce] java.lang.ExceptionInInitializerError
Hello,
it may cause problems to use the JCE implementation of SUN together with
another provider than SunJCE (because the provider has to be signed
somehow).
Regards,
Dieter Bratko
-----Ursprüngliche Nachricht-----
Von: iaik-jce-owner@iaik.tu-graz.ac.at
[mailto:iaik-jce-owner@iaik.tu-graz.ac.at]Im Auftrag von Aaron M.
Stromas
Gesendet: Donnerstag, 21. September 2000 07:55
An: iaik-jce@iaik.tu-graz.ac.at
Betreff: [iaik-jce] java.lang.ExceptionInInitializerError
greetings,
can someone help me interpret the following exception
Exception in thread "main" java.lang.ExceptionInInitializerError:
java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
at Test.main(Test.java:19)
the exception is generated by this code
iaik.security.provider.IAIK.addAsProvider();
Cipher rsa = Cipher.getInstance("RSA/ECB/PKCS1Padding", "IAIK");
tia.
--
Aaron Stromas | "Tick-tick-tick!!!... ja, Pantani is weg..."
Oracle Corp | BRTN commentator
+1 703.708.68.21 | L'Alpe d'Huez
1995 Tour de France
--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html
To unsubscribe send an email to listserv@iaik.at with the folowing content:
UNSUBSCRIBE iaik-jce
smime.p7s