public X500Principal getSubjectX500Principal() {
   return new X500Principal(subject.getDer());
 }
 public X500Principal getIssuerX500Principal() {
   return new X500Principal(issuer.getDer());
 }