getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_GETLASTCRL,"Number :" + maxnumber);
getLogSession().log(admin, crl.getIssuerDN().toString().hashCode(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_GETLASTCRL,"Number :" + maxnumber);
    public byte[] getLastCRL(Admin admin, String issuerdn) {        debug(">getLastCRL("+issuerdn+")");        try {            int maxnumber = getLastCRLNumber(admin, issuerdn);            X509CRL crl = null;            try {                CRLDataLocal data = crlHome.findByIssuerDNAndCRLNumber(issuerdn, maxnumber);                crl = data.getCRL();            } catch (FinderException e) {                crl = null;            }            debug("<getLastCRL()");            if (crl == null)                return null;            getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_GETLASTCRL,"Number :" + maxnumber);            return crl.getEncoded();        }        catch (Exception e) {                        getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_GETLASTCRL,"Error retrieving last crl.");                        throw new EJBException(e);        }    } //getLastCRL