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

Certificate returns null Subject Alternative Name if it is an X400Address type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 7
    • security-libs
    • b64
    • x86
    • windows_7

        FULL PRODUCT VERSION :


        ADDITIONAL OS VERSION INFORMATION :
        Windows, Linux

        A DESCRIPTION OF THE PROBLEM :
        If Certificate has an X400Address type subject alternative name:

        X509CertImpl.getSubjectAlternativeNames(certificate) method throws CertificateParsingException caused by java.io.IOException: Unrecognized GeneralName tag, (3)

        and

        certificate.getSubjectAlternativeNameExtension() method returns NULL.

        These exceptions caused by GeneralName.java, because constructor does not handle GeneralNameInterface.NAME_X400 (Tag=3).



        REPRODUCIBILITY :
        This bug can be reproduced always.

              juh Jason Uh (Inactive)
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: