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

DES/3DES keys support in PKCS12 keystore

XMLWordPrintable

    • b75
    • b22
    • linux_ubuntu

      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)

            abakhtin Alexey Bakhtin
            tledkov Taras Ledkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: