Package org.ejbca.core.model.ca.caadmin.extendedcaservices

Examples of org.ejbca.core.model.ca.caadmin.extendedcaservices.OCSPCAService


     Iterator<ExtendedCAServiceInfo> iter = cainfo.getExtendedCAServiceInfos().iterator();
     ArrayList<Integer> extendedservicetypes = new ArrayList<Integer>();
     while(iter.hasNext()){
        ExtendedCAServiceInfo next = iter.next();
        if(next instanceof OCSPCAServiceInfo){
          setExtendedCAService(new OCSPCAService(next));
          extendedservicetypes.add(Integer.valueOf(ExtendedCAServiceInfo.TYPE_OCSPEXTENDEDSERVICE));
        }
        if(next instanceof XKMSCAServiceInfo){
       setExtendedCAService(new XKMSCAService(next));
       extendedservicetypes.add(Integer.valueOf(ExtendedCAServiceInfo.TYPE_XKMSEXTENDEDSERVICE));
View Full Code Here


    try{
      returnval = (ExtendedCAService) extendedcaservicemap.get(Integer.valueOf(type));            
        if(returnval == null) {
          switch(((Integer) ((HashMap)data.get(EXTENDEDCASERVICE+type)).get(ExtendedCAService.EXTENDEDCASERVICETYPE)).intValue()) {
            case ExtendedCAServiceInfo.TYPE_OCSPEXTENDEDSERVICE:
              returnval = new OCSPCAService((HashMap)data.get(EXTENDEDCASERVICE+type));
              break
            case ExtendedCAServiceInfo.TYPE_XKMSEXTENDEDSERVICE:
              returnval = new XKMSCAService((HashMap)data.get(EXTENDEDCASERVICE+type));
              break
            case ExtendedCAServiceInfo.TYPE_CMSEXTENDEDSERVICE:
View Full Code Here

TOP

Related Classes of org.ejbca.core.model.ca.caadmin.extendedcaservices.OCSPCAService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.