-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
x86
-
linux
Name: gm110360 Date: 02/14/2002
FULL PRODUCT VERSION :
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-
b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The javadoc should explain that the recommended way
for retrieving a principal string from a certificate is
get.SubjectX500Principal().getName() or
getIssuerX500Principal() .getName() instead of
getSubjectDN().getName() or
getIssuerDN().getName(). That latter return Strings with
an implemenation defined format, which causes
problems comparing. Also, using these strings with
X509CerSelector object causes problems.
Reference: internal bug ID 4619691
This bug can be reproduced always.
(Review ID: 139616)
======================================================================
- duplicates
-
JDK-4959744 Denigrate X509Certificate.getSubjectDN() & co
- Resolved