Denigrated, replaced by getSubjectX500Principal(). This method returns the subject
as an implementation specific Principal object, which should not be
relied upon by portable code.
Gets the subject
(subject distinguished name) value
from the certificate. If the subject
value is empty,
then the getName()
method of the returned
Principal
object returns an empty string ("").
The ASN.1 definition for this is:
subject Name
See getIssuerDN
for Name
and other relevant definitions.
Diagram: Certificate