ps.setInt(1, CertificateData.CERT_REVOKED);
ps.setInt(1, CertificateDataBean.CERT_REVOKED);
    public Collection listRevokedCertificates(Admin admin, String issuerdn) {        debug(">listRevokedCertificates()");        Connection con = null;        PreparedStatement ps = null;        ResultSet result = null;        String dn = CertTools.stringToBCDNString(issuerdn);        dn = StringTools.strip(dn);        try {            // TODO:            // This should only list a few thousend certificates at a time, in case there            // are really many revoked certificates after some time...            con = getConnection();            ps = con.prepareStatement("select fingerprint from CertificateData where status=? and issuerDN=? ORDER BY expireDate DESC");            ps.setInt(1, CertificateData.CERT_REVOKED);            ps.setString(2, dn);            result = ps.executeQuery();            ArrayList vect = new ArrayList();            while (result.next()) {                vect.add(result.getString(1));            }            debug("<listRevokedCertificates()");            return vect;        } catch (Exception e) {            throw new EJBException(e);        } finally {            JDBCUtil.close(con, ps, result);        }    } // listRevokedCertificates