code: @Override
  	public Result<CertReq> toReq(AuthzTrans trans, BaseRequest req) {
  		CertificateRequest in;
  		try {
  			in = (CertificateRequest)req;
  		} catch(ClassCastException e) {
  			return Result.err(Result.ERR_BadData,"Request is not a CertificateRequest");
  		}
  
  		CertReq out = new CertReq();
  		Validator v = new Validator();
  		if(v.isNull("CertRequest", req)
  			.nullOrBlank("MechID", out.mechid=in.getMechid())
  			.nullBlankMin("FQDNs", out.fqdns=in.getFqdns(),1)
  			.err()) {
  			return Result.err(Result.ERR_BadData, v.errs());
  		}
  		out.emails = in.getEmail();
  		out.sponsor=in.getSponsor();
  		out.start = in.getStart();
  		out.end = in.getEnd();
  		return Result.ok(out);
  	}
docs: /* (non-Javadoc)
  @see com.att.authz.certman.mapper.Mapper#toReq(com.att.authz.env.AuthzTrans, java.lang.Object)