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

X509CertImpl.getFingerprint should not return the empty String

    XMLWordPrintable

Details

    • b08
    • Verified

    Backports

      Description

        X509CertImpl.getFingerprint should return null and not "" if there is an issue generating a fingerprint, and should not treat null as a valid fingerprint. Also, as a performance improvement, it should call X509CertImpl.getEncodedInternal(Certificate) which avoids cloning the encoded bytes if the Certificate is an instance of X509CertImpl.

        Attachments

          Issue Links

            Activity

              People

                mullan Sean Mullan
                mullan Sean Mullan
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: