class CertUtils {

    public static String getIssuerName(X509Certificate cert) {
        if (cert == null) {
            return null;
        }

        return cert.getIssuerX500Principal().getName(X500Principal.RFC2253, OID_MAP);
    }

}