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

Null Cipher won't work under global policy file

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2.1ea
    • CPU:
      sparc
    • OS:
      solaris_7

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: