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

NoSuchAlgorithmException: unrecognized algorithm name: DES at KeyStore.setEntry() with SecretKeyEntry

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b75
    • OS:
      linux_ubuntu

      Description

      A secret key is generated by KeyGenerator.

      Exception:
      java.security.KeyStoreException: Key protection algorithm not found: java.security.NoSuchAlgorithmException: unrecognized algorithm name: DES
      at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry(PKCS12KeyStore.java:649)
      at sun.security.pkcs12.PKCS12KeyStore.engineSetEntry(PKCS12KeyStore.java:1316)
      at java.security.KeyStore.setEntry(KeyStore.java:1546)

      Caused by: java.security.NoSuchAlgorithmException: unrecognized algorithm name: DES
      at sun.security.x509.AlgorithmId.get(AlgorithmId.java:407)
      at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry(PKCS12KeyStore.java:616)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tledkov Taras Ledkov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: