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

Deprecate SSLSession.getPeerCertificateChain method

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      Description

      For historical reason, the returned class of SSLSession.getPeerCertificateChain() is javax.security.cert.X509Certificate, but not java.security.cert.X509Certificate. It would better to deprecate this method so that applications can get explicit compiler warning message to move to use SSLSession.getPeerCertificates() instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xuelei Xue-Lei Fan
              Reporter:
              xuelei Xue-Lei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: