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

X509Certificate.get[Subject,Issuer]X500Principal should preserve ASN.1 encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.1
    • 1.4.0
    • security-libs
    • None
    • hopper
    • generic, x86
    • generic, windows_2000
    • Verified

      The implementation of getSubjectX500Principal() and getIssuerX500Principal() in X509Certificate returns an X500Principal constructed from getSubjectDN().getName(). The parsing may fail for the string returned by some implementations and loses ASN.1 string type information.

      The method should be implemented in a way that preserves the original ASN.1 encoding.

            andreas Andreas Sterbenz
            andreas Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: