+ return revoke(targetId, type, null, null, null);
+ }
+
+ protected synchronized static Job revoke(Certificate targetId, String challenge, String signature, String message) {
+ return revoke(targetId, RevocationType.KEY_COMPROMISE, challenge, signature, message);
+ }
+
+ private synchronized static Job revoke(Certificate targetId, RevocationType type, String challenge, String signature, String message) {
+ try (GigiPreparedStatement ps = new GigiPreparedStatement("INSERT INTO `certsRevoked` SET id=?, type=?::`revocationType`, challenge=?, signature=?, message=?")) {