if(info instanceof CmsCAServiceInfo){ this.getExtendedCAService(ExtendedCAServiceInfo.TYPE_CMSEXTENDEDSERVICE).update(info, this); }
    public void updateCA(CAInfo cainfo) throws Exception{                	data.put(VALIDITY, new Integer(cainfo.getValidity()));                     	data.put(DESCRIPTION, cainfo.getDescription());          	data.put(CRLPERIOD, new Integer(cainfo.getCRLPeriod()));    	data.put(CRLISSUEINTERVAL, new Integer(cainfo.getCRLIssueInterval()));    	data.put(CRLOVERLAPTIME, new Integer(cainfo.getCRLOverlapTime()));    	data.put(CRLPUBLISHERS, cainfo.getCRLPublishers());    	data.put(APPROVALSETTINGS,cainfo.getApprovalSettings());    	data.put(NUMBEROFREQAPPROVALS,new Integer(cainfo.getNumOfReqApprovals()));    	CAToken token = getCAToken();    	if (token != null) {    		token.updateCATokenInfo(cainfo.getCATokenInfo());    		setCAToken(token);    	}    	setFinishUser(cainfo.getFinishUser());    	    	Iterator iter = cainfo.getExtendedCAServiceInfos().iterator();    	while(iter.hasNext()){    		ExtendedCAServiceInfo info = (ExtendedCAServiceInfo) iter.next();    		if(info instanceof OCSPCAServiceInfo){    			this.getExtendedCAService(ExtendedCAServiceInfo.TYPE_OCSPEXTENDEDSERVICE).update(info, this);	    		}    		if(info instanceof XKMSCAServiceInfo){    			this.getExtendedCAService(ExtendedCAServiceInfo.TYPE_XKMSEXTENDEDSERVICE).update(info, this);	    		}    	}    	this.cainfo = cainfo;    }