-
Bug
-
Resolution: Fixed
-
P4
-
unknown
-
1.2.1ea
-
sparc
-
solaris_7
Null Cipher won't work under global policy file. Instead, it throw an exception as follows:
=========== NCFunc ==========
java.lang.SecurityException: Double encryption
at javax.crypto.Cipher.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.doFinal([DashoPro-V1.2-120198], Compiled Code)
at TestCipherNCFunc.runTest(TestCipherNCFunc.java, Compiled Code)
at TestCipherNCFunc.run(TestCipherNCFunc.java, Compiled Code)
at TestCipherNCFunc.main(TestCipherNCFunc.java, Compiled Code)
STATUS:Failed. All Failed
Note: Null Cipher works well with domestic policy
=========== NCFunc ==========
java.lang.SecurityException: Double encryption
at javax.crypto.Cipher.a([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.doFinal([DashoPro-V1.2-120198], Compiled Code)
at TestCipherNCFunc.runTest(TestCipherNCFunc.java, Compiled Code)
at TestCipherNCFunc.run(TestCipherNCFunc.java, Compiled Code)
at TestCipherNCFunc.main(TestCipherNCFunc.java, Compiled Code)
STATUS:Failed. All Failed
Note: Null Cipher works well with domestic policy
- relates to
-
JDK-4296875 JCE didn't enforce maxKeySize
- Resolved
-
JDK-4301632 PBEWithMD5AndDES/CBC/PKCS5Padding won't work under Global policy
- Resolved