Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231107 Allow store password to be null when saving a PKCS12 KeyStore
  3. JDK-8275294

Release Note: Allow Store Password to Be Null When Saving a PKCS12 KeyStore

    XMLWordPrintable

    Details

      Description

      Calling `keyStore.store(outputStream, null)` on a PKCS12 KeyStore creates a password-less PKCS12 file. The certificates inside the file are not encrypted and the file contains no MacData. This file can then be loaded with any password (including `null`) when calling `keyStore.load(inputStream, password)`.

        Attachments

          Activity

            People

            Assignee:
            weijun Weijun Wang
            Reporter:
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: