Java tutorial
//package com.java2s; import java.security.cert.X509Certificate; import javax.security.auth.x500.X500Principal; public class Main { protected static X500Principal getEncodedIssuerPrincipal(X509Certificate cert) { return cert.getIssuerX500Principal(); } }