aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at
diff options
context:
space:
mode:
authorEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-11-02 16:18:55 +0100
committerEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-11-02 16:18:55 +0100
commit17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e (patch)
tree417f59035c11ef3071c2ec850919e5f029e83e89 /pdf-as-web/src/main/java/at
parent63e243d01fdedf84fe36287e75ae58e064d3e673 (diff)
downloadpdf-as-4-17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e.tar.gz
pdf-as-4-17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e.tar.bz2
pdf-as-4-17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e.zip
Code cleanup
Diffstat (limited to 'pdf-as-web/src/main/java/at')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/sl20/JsonSecurityUtils.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/sl20/JsonSecurityUtils.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/sl20/JsonSecurityUtils.java
index 4a0ecf47..bf37b290 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/sl20/JsonSecurityUtils.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/sl20/JsonSecurityUtils.java
@@ -116,7 +116,6 @@ public class JsonSecurityUtils implements IJOSETools{
trustedCerts.add((X509Certificate) cert);
else
logger.info("Can not process entry: " + el + ". Reason: ");
-
}
}
@@ -124,13 +123,11 @@ public class JsonSecurityUtils implements IJOSETools{
if (signPrivKey == null || !(signPrivKey instanceof PrivateKey)) {
logger.info("Can NOT open privateKey for SL2.0 signing. KeyStore=");
throw new SL20Exception("sl20.03");
-
}
if (signCertChain == null || signCertChain.length == 0) {
logger.info("NO certificate for SL2.0 signing. KeyStore=");
throw new SL20Exception("sl20.03");
-
}
isInitialized = true;
@@ -291,7 +288,6 @@ public class JsonSecurityUtils implements IJOSETools{
} else {
logger.info("Signed SL2.0 response contains NO signature certificate or NO certificate fingerprint");
throw new SLCommandoParserException();
-
}
//set key