Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251468 X509Certificate.get{Subject,Issuer}AlternativeNames and getExtendedKeyUsage do not throw CertificateParsingException if extension is unparseable
  3. JDK-8276109

Release Note: X509Certificate.get{Subject,Issuer}AlternativeNames and getExtendedKeyUsage Now Throw CertificateParsingException if Extension Is Unparseable

    XMLWordPrintable

    Details

      Description

      The JDK implementation (as supplied by the SUN provider) of `X509Certificate::getSubjectAlternativeNames`, `X509Certificate::getIssuerAlternativeNames` and `X509Certificate::getExtendedKeyUsage` now throws `CertificateParsingException` instead of returning `null` when the extension is non-critical and unparseable (badly encoded or contains invalid values). This change in behavior is compliant with the specification of these methods.

        Attachments

          Activity

            People

            Assignee:
            mullan Sean Mullan
            Reporter:
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: