getCommonName

Extract the common name of a X500Principal (subject or issuer)