Package org.ejbca.core.ejb.ca.caadmin

Examples of org.ejbca.core.ejb.ca.caadmin.CAAdminSession


    }         
    if (ret!=null && StringUtils.isNotEmpty(signingCA)) {
      try {
        final int caid = Integer.parseInt(signingCA);
        final CmsCAServiceRequest request = new CmsCAServiceRequest(ret, CmsCAServiceRequest.MODE_SIGN);
        final CAAdminSession caAdminSession = new EjbLocalHelper().getCaAdminSession();
        final CmsCAServiceResponse resp = (CmsCAServiceResponse) caAdminSession.extendedService(admin, caid, request);
        ret = resp.getCmsDocument();
      } catch (IllegalExtendedCAServiceRequestException e) {
        log.error("Bad CA service", e);
      } catch (CADoesntExistsException e) {
        log.error("Bad CA", e);
View Full Code Here

TOP

Related Classes of org.ejbca.core.ejb.ca.caadmin.CAAdminSession

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.