this.requestAdminCert = (String) in.readObject();
String requestAdminCert = (String) in.readObject(); 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); } this.requestAdmin = new Admin(x509cert);  this.requestSignature = (String) in.readObject(); this.approvalRequestType = in.readInt(); this.numOfRequiredApprovals =  in.readInt(); this.cAId = in.readInt(); this.endEntityProfileId = in.readInt(); } if(version == 2){ this.requestAdmin = (Admin) in.readObject();
	public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {        		int version = in.readInt();		if(version == 1){			this.requestAdminCert = (String) in.readObject();			this.requestSignature = (String) in.readObject();			this.approvalRequestType = in.readInt();			this.numOfRequiredApprovals =  in.readInt();			this.cAId = in.readInt();			this.endEntityProfileId = in.readInt();		}			}