I am writing to you to report a bug in java.security.cert.X509Certificate.
I found out that in some case the X509Certificate.getSubjectDN() function
could not return certificate subject dn correctly.
Here is an example:
The dn in my cert is:
CN=Equifax Extension +serialNumber=1834335967, O=EF002Xa, C=US
the getSubjectDN() function returned dn
OID.2.5.4.5=1834335967, O=EF002Xa, C=US
It cut off the first name and last name from the cn field.
If the cn does not contain serialNumber field, the function returns correct
dn.
Please check it out.
Kefeng Chen
Seniro Consultant
Equifax Inc.
phone:770 -752-1128
Fax: 770-740-7944