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

PBEWithMD5AndDES/CBC/PKCS5Padding won't work under Global policy

XMLWordPrintable

    • 1.2.1ea
    • sparc
    • solaris_7

      PBEWithMD5AndDES/CBC/PKCS5Padding won't work under Global policy, Instead the following exception is threw ----

      Testing: pbeWithMD5ANDdes
      java.security.InvalidKeyException
              at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineGetKeySize([DashoPro-V1.2-120198], Compiled Code)
              at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
              at TestCipherPBEFunc.runTest(TestCipherPBEFunc.java, Compiled Code)
              at TestCipherPBEFunc.run(TestCipherPBEFunc.java, Compiled Code)
              at TestCipherPBEFunc.main(TestCipherPBEFunc.java, Compiled Code)
      Testing: PBEWithMD5AndDES/CBC/PKCS5Padding
      java.security.InvalidKeyException
              at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineGetKeySize([DashoPro-V1.2-120198], Compiled Code)
              at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
              at TestCipherPBEFunc.runTest(TestCipherPBEFunc.java, Compiled Code)
              at TestCipherPBEFunc.run(TestCipherPBEFunc.java, Compiled Code)
              at TestCipherPBEFunc.main(TestCipherPBEFunc.java, Compiled Code)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: