[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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