From 68e996fe190e6ba9e7aa46cf81bae8e762f53256 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Wed, 14 May 2014 11:58:21 +0200 Subject: Web verification page outputs Qualified Certificate Flag --- .../src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java index 912e6efc..83abdf2d 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java @@ -270,6 +270,7 @@ public class VerifyServlet extends HttpServlet { sb.append("Value Message"); sb.append("Error"); sb.append("Certificate"); + sb.append("Certificate"); sb.append("Signed Data"); sb.append(""); @@ -302,7 +303,11 @@ public class VerifyServlet extends HttpServlet { } else { sb.append("-"); } - sb.append("here"); + if(result.isQualifiedCertificate()) { + sb.append("here (QC)"); + } else { + sb.append("here"); + } sb.append("here"); } else { -- cgit v1.2.3