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