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

X509Certificate.getSubject* methods under-specified if subject value is empty

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • beta2
    • generic
    • solaris_7

      java.security.cert.X509Certificate contains two methods
      for retrieving the Subject DN from the certificate:

      getSubjectDN
      getSubjectX500Principal

      neither document the correct behavior if the subject value
      is empty. the above methods should document that
      they will return java.security.Principal objects whose getName()
      implementations return an empty string ("") if the subject
      value is empty.

            claisunw Charlie Lai (Inactive)
            claisunw Charlie Lai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: