Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4296885

Null Cipher won't work under global policy file

XMLWordPrintable

    • 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

            shihliu Sharon Liu (Inactive)
            skesunw Stuart Ke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: