debug("<findCertificatesBySubjectAndIssuer(), dn='"+subjectDN+"'");
debug("<findCertificatesBySubjectAndIssuer(), dn='"+subjectDN+"' and issuer='"+issuerDN+"'");
    public Collection findCertificatesBySubjectAndIssuer(Admin admin, String subjectDN, String issuer) {        debug(">findCertificatesBySubjectAndIssuer(), dn='"+subjectDN+"' and issuer='"+issuer+"'");        // First make a DN in our well-known format        String dn = CertTools.stringToBCDNString(subjectDN);        String issuerdn = CertTools.stringToBCDNString(issuer);        debug("Looking for cert with (transformed)DN: " + dn);        try {            Collection coll = certHome.findBySubjectDNAndIssuerDN(dn, issuerdn);            Collection ret = new ArrayList();            if (coll != null) {                Iterator iter = coll.iterator();                while (iter.hasNext()) {                    ret.add( ((CertificateDataLocal)iter.next()).getCertificate() );                }            }            debug("<findCertificatesBySubjectAndIssuer(), dn='"+subjectDN+"'");            return ret;        } catch (javax.ejb.FinderException fe) {            throw new EJBException(fe);        }    } //findCertificatesBySubject