Iterator iter = certificatestoresession.getAuthorizedCertificateProfileIds(admin, SecConst.CERTTYPE_ROOTCA).iterator();
Iterator iter = certificatestoresession.getAuthorizedCertificateProfileIds(admin, CertificateDataBean.CERTTYPE_ROOTCA).iterator();
    public TreeMap getAuthorizedRootCACertificateProfileNames(){      if(profilenamesrootca==null){        profilenamesrootca = new TreeMap();          Iterator iter = certificatestoresession.getAuthorizedCertificateProfileIds(admin, SecConst.CERTTYPE_ROOTCA).iterator();              HashMap idtonamemap = certificatestoresession.getCertificateProfileIdToNameMap(admin);        while(iter.hasNext()){          Integer id = (Integer) iter.next();          profilenamesrootca.put(idtonamemap.get(id),id);        }      }      return profilenamesrootca;      }