Collection certfps = store.findCertificatesByType(new Admin(Admin.TYPE_INTERNALUSER)
Collection certfps = store.findCertificatesByType(admin
    public void test07FindCACertificatesWithIssuer() throws Exception {        m_log.debug(">test07FindCACertificatesWithIssuer()");            ICertificateStoreSessionRemote store = m_storehome.create();        X509Certificate rootcacert = CertTools.getCertfromByteArray(testrootcert);        // List all certificates to see        Collection certfps = store.findCertificatesByType(new Admin(Admin.TYPE_INTERNALUSER)                                                          , SecConst.CERTTYPE_SUBCA                                                          , rootcacert.getSubjectDN().getName());        assertNotNull("failed to list certs", certfps);        assertTrue("failed to list certs", certfps.size() >= 1);        Iterator iter = certfps.iterator();        boolean found = false;        while (iter.hasNext()) {            X509Certificate cert = (X509Certificate)iter.next();            if (subCaFp.equals(CertTools.getFingerprintAsString(cert))) {                found = true;            }        }                assertTrue("Unable to find all test certificates.", found);        m_log.debug("<test07FindCACertificatesWithIssuer()");        }