check(); String sqlCommand = "UPDATE CertificateData SET status=40, revocationDate=" + System.currentTimeMillis() + ", revocationReason=" + reason + " WHERE fingerprint='" + CertTools.getFingerprintAsString((X509Certificate)cert) + "';"; execute(sqlCommand);
execute( "UPDATE CertificateData SET status=?, revocationDate=?, revocationReason=? WHERE fingerprint=?;", new RevokePreparer(cert, reason));
    public void revokeCertificate(Admin admin, Certificate cert, int reason)                                                                            throws PublisherException {        check();        String sqlCommand =            "UPDATE CertificateData SET status=40, revocationDate=" +            System.currentTimeMillis() + ", revocationReason=" +            reason + " WHERE fingerprint='" +            CertTools.getFingerprintAsString((X509Certificate)cert) + "';";        execute(sqlCommand);    }