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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: