debug(">findUsernameByCertSerno(), serno: " + serno + ", issuerdn: " + issuerdn);
if (log.isDebugEnabled()) { debug(">findUsernameByCertSerno(), serno: " + serno.toString(16) + ", issuerdn: " + issuerdn); }
    public String findUsernameByCertSerno(Admin admin, BigInteger serno, String issuerdn) {        debug(">findUsernameByCertSerno(), serno: " + serno + ", issuerdn: " + issuerdn);        String dn = CertTools.stringToBCDNString(issuerdn);        try {            Collection coll = certHome.findByIssuerDNSerialNumber(dn, serno.toString());            String ret = null;            if (coll != null) {                Iterator iter = coll.iterator();                while (iter.hasNext()) {                    ret = ((CertificateDataLocal) iter.next()).getUsername();                }            }            debug("<findUsernameByCertSerno(), ret=" + ret);            return ret;        } catch (javax.ejb.FinderException fe) {            throw new EJBException(fe);        }    } // findUsernameByCertSerno