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

Update KeyStore.getDefaultType​() specification to return pkcs12 as fallback

XMLWordPrintable

    • behavioral
    • minimal
    • This updates the spec to be in alignment with default behavior since JDK 9
    • Java API
    • SE

      Summary

      Update the KeyStore.getDefaultType​() specification to return "pkcs12" as default instead of "jks".

      Problem

      The specification for KeyStore.getDefaultType​() still returns "jks" as the format if the keystore.type security property isn't defined. The default for the keystore.type security property has been "pkcs12" since JDK 9.

      Solution

      Change the default keystore type in KeyStore.getDefaultType​() to "pkcs12" and update specification accordingly.

      Specification

      Replaced references to "jks" with "pkcs12" in the KeyStore.getDefaultType​() specification.

            bperez Ben Perez
            coffeys Sean Coffey
            Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: