0 Replies Latest reply on Jan 21, 2015 10:42 AM by user12853324

    Error JCE cannot authenticate the provider

    user12853324

      When I am adding our provider in oracle java vm environment as follows-

      Security.insertProviderAt(new Sun(), 1);

      Security.addProvider(new MyProvider());

       

       

      But I am geeting the following error  in javax.crypto.Cipher.getInstance  -

      ORA-29532: Java call terminated by uncaught Java exception:

      java.sql.SQLException: Error: description [Decrypt by Name failed] message [JCE

      cannot authenticate the provider MyProvider] stack trace

      [java.lang.SecurityException: JCE cannot authenticate the provider

      MyProvider

      at javax.crypto.Cipher.getInstance(DashoA12275)

      at javax.crypto.Cipher.getInstance(DashoA12275)

      Caused by: java.util.jar.JarException: Class is on the bootclasspath

      at javax.crypto.SunJCE_d.a(DashoA12275)

      at javax.crypto.SunJCE_b.b(DashoA12275)

       

      can someone please help to resolve the issue.