Ken Rider
2003-09-08 20:22:28 UTC
I have a class that uses java.security and javax.crypto packages. When I run
it with Sun 1.3.1, Sun 1.4.1 and IBM 1.3.1 it works fine but when I run it
with IBM 1.4.1 I get the following error.
java.security.KeyStoreException: Cannot authenticate JCE framework
java.util.jar.JarException:
jar:file:/home/user/dev/vendor/Linux/ibm/j2sdk/j2sdk1.4.1/jre/lib/security.j
ar!/ has unsigned entries - com/ibm/Copyright.class
at com.sun.crypto.provider.JceKeyStore.engineSetKeyEntry(DashoA6275)
at java.security.KeyStore.setKeyEntry(KeyStore.java:427)
My guess is this is due to the JCE 1.2.2 jars being in the classpath but if
I don't include them in the classpath I get a NoClassDefFoundError for
com/sun/crypto/provider/SunJCE.
Any help getting this resolved would be appreciated.
it with Sun 1.3.1, Sun 1.4.1 and IBM 1.3.1 it works fine but when I run it
with IBM 1.4.1 I get the following error.
java.security.KeyStoreException: Cannot authenticate JCE framework
java.util.jar.JarException:
jar:file:/home/user/dev/vendor/Linux/ibm/j2sdk/j2sdk1.4.1/jre/lib/security.j
ar!/ has unsigned entries - com/ibm/Copyright.class
at com.sun.crypto.provider.JceKeyStore.engineSetKeyEntry(DashoA6275)
at java.security.KeyStore.setKeyEntry(KeyStore.java:427)
My guess is this is due to the JCE 1.2.2 jars being in the classpath but if
I don't include them in the classpath I get a NoClassDefFoundError for
com/sun/crypto/provider/SunJCE.
Any help getting this resolved would be appreciated.