summaryrefslogtreecommitdiff
path: root/smccSTAL/src
diff options
context:
space:
mode:
Diffstat (limited to 'smccSTAL/src')
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java
index d67b37f3..63acdae1 100644
--- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java
+++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java
@@ -103,8 +103,12 @@ public class InfoBoxReadRequestHandler extends AbstractRequestHandler {
log.info("signing certificate is valid");
} catch (CertificateExpiredException e) {
log.warn("signing certificate has expired!");
+ gui.showWarningDialog(BKUGUIFacade.WARNING_CERT_EXPIRED, null, this, null);
+ waitForAction();
} catch (CertificateNotYetValidException e) {
log.warn("signing certificate is not yet valid!");
+ gui.showErrorDialog(BKUGUIFacade.WARNING_CERT_NOTYETVALID, null, this, null);
+ waitForAction();
} catch (CertificateException e) {
log.error("Certificate decoding failed:", e);
}