signsession.publishCACertificate(administrator, cainfo.getCertificateChain(), certprofile.getPublisherList() , certtype);
Collection publishers = cainfo.getCRLPublishers(); publishers.addAll(certprofile.getPublisherList()); signsession.publishCACertificate(administrator, cainfo.getCertificateChain(), publishers, certtype);
 public void publishCA(int caid){ 	CAInfo cainfo = caadminsession.getCAInfo(administrator, caid); 	CertificateProfile certprofile = certificatesession.getCertificateProfile(administrator, cainfo.getCertificateProfileId()); 	int certtype = CertificateDataBean.CERTTYPE_SUBCA; 	if(cainfo.getSignedBy() == CAInfo.SELFSIGNED) 	  certtype = CertificateDataBean.CERTTYPE_ROOTCA; 	signsession.publishCACertificate(administrator, cainfo.getCertificateChain(), certprofile.getPublisherList() , certtype); }