-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
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.
The method should be implemented in a way that preserves the original ASN.1 encoding.
- duplicates
-
JDK-4759225 X500Certificate uses getName to make X500Principal
-
- Closed
-
- relates to
-
JDK-4532023 check the JSSE source for other unnecessary DER->String->DER conversions
-
- Resolved
-
-
JDK-4530918 X509CertImpl should override getSubject/IssuerX500Principal
-
- Closed
-