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

Remove javax.security.cert.X509Certificate usage in internal networking packages

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • security-libs
    • None
    • b57

        The javax.security.cert is being deprecated in JDK-8073430. Some methods in the internal sun.net.* and com.sun.net.* packages use the javax.security.cert.X509Certificate type, however. These methods should be removed or changed to use java.security.cert.Certificate instead.

        These methods can probably be removed:
        com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getServerCertificateChain()
        sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getServerCertificateChain()
        sun.net.www.protocol.https.HttpsClient.getServerCertificateChain()
        sun.net.www.protocol.https.HttpsURLConnectionImpl.getServerCertificateChain()

        This method may have to be modified:
        com.sun.net.ssl.HttpsURLConnection.getServerCertificateChain()

              juh Jason Uh (Inactive)
              juh Jason Uh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: