views:

136

answers:

0

Hello, I'm trying to create a provider. when I run the code i receive this exception

Exception in thread "main" java.lang.SecurityException: JCE cannot authenticate the provider MyProvider
    at javax.crypto.Cipher.getInstance(DashoA13*..)
    at javax.crypto.Cipher.getInstance(DashoA13*..)
    at hellman.Main.main(Main.java:68)
Caused by: java.util.jar.JarException: Cannot parse file:/C:/Documents%20and%20Settings/brahim%20%20chami/Bureau/Project%233/hellman/build/classes/
    at javax.crypto.SunJCE_c.a(DashoA13*..)
    at javax.crypto.SunJCE_b.b(DashoA13*..)
    at javax.crypto.SunJCE_b.a(DashoA13*..)
    ... 3 more

Java Result: 1