getSubject() method

Retrieves the subject of certificate.

Syntax

String getSubject ()

Returns

Distinguish format name for subject of the certificate

Examples