if(next instanceof XKMSCAServiceInfo){
setExtendedCAService(new XKMSCAService(next));
extendedservicetypes.add(Integer.valueOf(ExtendedCAServiceInfo.TYPE_XKMSEXTENDEDSERVICE));
}
if(next instanceof CmsCAServiceInfo){
setExtendedCAService(new CmsCAService(next));
extendedservicetypes.add(Integer.valueOf(ExtendedCAServiceInfo.TYPE_CMSEXTENDEDSERVICE));
}
}
data.put(EXTENDEDCASERVICES, extendedservicetypes);
setApprovalSettings(cainfo.getApprovalSettings());