cat.debug("Looking for cert with DN:"+cert.getIssuerDN().toString()+" and serno "+cert.getSerialNumber());
log.debug("Looking for cert with DN:"+cert.getIssuerDN().toString()+" and serno "+cert.getSerialNumber());
    public void test07FindByIssuerAndSerno() throws Exception {        cat.debug(">test07FindByIssuerAndSerno()");        CertificateDataPK pk = new CertificateDataPK();        pk.fingerprint = CertTools.getFingerprintAsString(cert);        CertificateData data3 = home.findByPrimaryKey(pk);        assertNotNull("Failed to find cert", data3);        cat.debug("Looking for cert with DN:"+cert.getIssuerDN().toString()+" and serno "+cert.getSerialNumber());        ICertificateStoreSessionRemote store = storehome.create();        Certificate fcert = store.findCertificateByIssuerAndSerno(new Admin(Admin.TYPE_INTERNALUSER), cert.getIssuerDN().toString(), cert.getSerialNumber());        assertNotNull("Cant find by issuer and serno", fcert);        //cat.debug(fcert.toString());        cat.debug("<test07FindByIssuerAndSerno()");    }