public X509Certificate getRequestAdminCert() { byte[] certbuf = Base64.decode(requestAdminCert.getBytes()); CertificateFactory cf = CertTools.getCertificateFactory(); X509Certificate x509cert = null; try { x509cert = (X509Certificate)cf.generateCertificate(new ByteArrayInputStream(certbuf)); } catch (CertificateException e) { log.error(e); } return x509cert;
public X509Certificate getRequestAdminCert() { return requestAdmin.getAdminInformation().getX509Certificate();
	public X509Certificate getRequestAdminCert() {			      byte[] certbuf = Base64.decode(requestAdminCert.getBytes());      CertificateFactory cf = CertTools.getCertificateFactory();      X509Certificate x509cert = null;      try {    	  x509cert = (X509Certificate)cf.generateCertificate(new ByteArrayInputStream(certbuf));      } catch (CertificateException e) {    	  log.error(e);      }      return x509cert;	}