extendedcaservices.add(new OCSPCAServiceInfo(ExtendedCAServiceInfo.STATUS_ACTIVE));
// Create and active XKMS CA Service.
extendedcaservices.add(new XKMSCAServiceInfo(ExtendedCAServiceInfo.STATUS_INACTIVE, "CN=XKMSCertificate, "
+ CertTools.getSubjectDN(caSignatureCertificate), "", keySpecification, keyAlgorithm));
// Create and active CMS CA Service.
extendedcaservices.add(new CmsCAServiceInfo(ExtendedCAServiceInfo.STATUS_INACTIVE, "CN=CMSCertificate, "
+ CertTools.getSubjectDN(caSignatureCertificate), "", keySpecification, keyAlgorithm));
cainfo = new X509CAInfo(CertTools.getSubjectDN(caSignatureCertificate), caname, SecConst.CA_ACTIVE, new Date(), "", certprof, validity, CertTools
.getNotAfter(caSignatureCertificate), // Expiretime
CAInfo.CATYPE_X509, signedby, certificatechain, catoken.getCATokenInfo(), description,