X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=util%2Forg%2Fcacert%2Fgigi%2Futil%2FSimpleSigner.java;h=9d5e9d29cb0abe093c4ae0578c417da985f93725;hp=7bee775a3c23b9428a8a613de716f1b54e6449e0;hb=8a4b391a688509c8f1b4b10d6509fd44b8c79895;hpb=e9336bb2781a287a5542179208a869acd17c9a5a diff --git a/util/org/cacert/gigi/util/SimpleSigner.java b/util/org/cacert/gigi/util/SimpleSigner.java index 7bee775a..9d5e9d29 100644 --- a/util/org/cacert/gigi/util/SimpleSigner.java +++ b/util/org/cacert/gigi/util/SimpleSigner.java @@ -46,13 +46,13 @@ public class SimpleSigner { gencrl(); while (true) { System.out.println("ping"); - executeOutstanders(); - revokeOutstanders(); + signCertificates(); + revokeCertificates(); Thread.sleep(5000); } } - private static void revokeOutstanders() throws SQLException, IOException, + private static void revokeCertificates() throws SQLException, IOException, InterruptedException { ResultSet rs = revoke.executeQuery(); boolean worked = false; @@ -98,7 +98,7 @@ public class SimpleSigner { System.out.println("Error while generating crl."); } } - private static void executeOutstanders() throws SQLException, IOException, + private static void signCertificates() throws SQLException, IOException, InterruptedException { ResultSet rs = readyMail.executeQuery(); while (rs.next()) {