-
Bug
-
Resolution: Fixed
-
P3
-
unknown
-
1.2.1ea
-
sparc
-
solaris_7
It seems like an obfuscation problem - JceSecurityManager NOT found.
When I run Blowfish, DES, DESede and PBE algorithm uder Global Policy file,
those algorithm won't work at all. Instead, the following exception came out.
=========== MutualGlobalBlowfish ==========
Exception in thread "main" java.lang.NoClassDefFoundError: javax.crypto.JceSecurityManager
at javax.crypto.f.class$([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.f.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.b.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198], Compiled Code)
at TestMutualGlobalBlowfish.runTest(TestMutualGlobalBlowfish.java, Compiled Code)
at TestMutualGlobalBlowfish.run(TestMutualGlobalBlowfish.java, Compiled Code)
at TestMutualGlobalBlowfish.main(TestMutualGlobalBlowfish.java, Compiled Code)
=========== MutualGlobalDES ==========
Exception in thread "main" java.lang.NoClassDefFoundError: javax.crypto.JceSecurityManager
at javax.crypto.f.class$([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.f.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.b.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198], Compiled Code)
at TestMutualGlobalDES.runTest(TestMutualGlobalDES.java, Compiled Code)
at TestMutualGlobalDES.run(TestMutualGlobalDES.java, Compiled Code)
at TestMutualGlobalDES.main(TestMutualGlobalDES.java, Compiled Code)
=========== MutualGlobalPBE ==========
Exception in thread "main" java.lang.NoClassDefFoundError: javax.crypto.JceSecurityManager
at javax.crypto.f.class$([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.f.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.b.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198], Compiled Code)
at TestMutualGlobalPBE.runTest(TestMutualGlobalPBE.java, Compiled Code)
at TestMutualGlobalPBE.run(TestMutualGlobalPBE.java, Compiled Code)
at TestMutualGlobalPBE.main(TestMutualGlobalPBE.java, Compiled Code)
When I run Blowfish, DES, DESede and PBE algorithm uder Global Policy file,
those algorithm won't work at all. Instead, the following exception came out.
=========== MutualGlobalBlowfish ==========
Exception in thread "main" java.lang.NoClassDefFoundError: javax.crypto.JceSecurityManager
at javax.crypto.f.class$([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.f.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.b.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198], Compiled Code)
at TestMutualGlobalBlowfish.runTest(TestMutualGlobalBlowfish.java, Compiled Code)
at TestMutualGlobalBlowfish.run(TestMutualGlobalBlowfish.java, Compiled Code)
at TestMutualGlobalBlowfish.main(TestMutualGlobalBlowfish.java, Compiled Code)
=========== MutualGlobalDES ==========
Exception in thread "main" java.lang.NoClassDefFoundError: javax.crypto.JceSecurityManager
at javax.crypto.f.class$([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.f.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.b.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198], Compiled Code)
at TestMutualGlobalDES.runTest(TestMutualGlobalDES.java, Compiled Code)
at TestMutualGlobalDES.run(TestMutualGlobalDES.java, Compiled Code)
at TestMutualGlobalDES.main(TestMutualGlobalDES.java, Compiled Code)
=========== MutualGlobalPBE ==========
Exception in thread "main" java.lang.NoClassDefFoundError: javax.crypto.JceSecurityManager
at javax.crypto.f.class$([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.f.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.b.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198], Compiled Code)
at TestMutualGlobalPBE.runTest(TestMutualGlobalPBE.java, Compiled Code)
at TestMutualGlobalPBE.run(TestMutualGlobalPBE.java, Compiled Code)
at TestMutualGlobalPBE.main(TestMutualGlobalPBE.java, Compiled Code)
- relates to
-
JDK-4296875 JCE didn't enforce maxKeySize
- Resolved