aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-07-15 09:53:36 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-07-15 09:53:36 +0200
commit8eecd5504d82b4827dda5b0549e0662051f37df2 (patch)
treed1cde5bede36b68f3b3c65b180c040da4d4801d1 /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
parent52123b59a26051ef01c0e33e5f55faa7e232f65a (diff)
downloadpdf-as-4-8eecd5504d82b4827dda5b0549e0662051f37df2.tar.gz
pdf-as-4-8eecd5504d82b4827dda5b0549e0662051f37df2.tar.bz2
pdf-as-4-8eecd5504d82b4827dda5b0549e0662051f37df2.zip
Verification Level for verification after signature
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
index fb633bd5..39078529 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
@@ -39,6 +39,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import at.gv.egiz.pdfas.common.exceptions.PdfAsException;
+import at.gv.egiz.pdfas.lib.api.verify.VerifyParameter.SignatureVerificationLevel;
import at.gv.egiz.pdfas.web.config.WebConfiguration;
import at.gv.egiz.pdfas.web.exception.PdfAsWebException;
import at.gv.egiz.pdfas.web.helper.DigestHelper;
@@ -247,6 +248,9 @@ public class ExternSignServlet extends HttpServlet {
String invokeUrl = PdfAsParameterExtractor.getInvokeURL(request);
PdfAsHelper.setInvokeURL(request, response, invokeUrl);
+ SignatureVerificationLevel lvl = PdfAsParameterExtractor.getVerificationLevel(request);
+ PdfAsHelper.setVerificationLevel(request, lvl);
+
String invokeTarget = PdfAsParameterExtractor.getInvokeTarget(request);
PdfAsHelper.setInvokeTarget(request, response, invokeTarget);