diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-05-14 11:58:21 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-05-14 11:58:21 +0200 |
commit | 68e996fe190e6ba9e7aa46cf81bae8e762f53256 (patch) | |
tree | 52ca21c1d3b43fdd19f5df8444a9449ae32c7728 /pdf-as-web/src/main/java/at/gv | |
parent | cd7fb8b2ae3b11877007aef3dd0ee1e9c74a4e69 (diff) | |
download | pdf-as-4-68e996fe190e6ba9e7aa46cf81bae8e762f53256.tar.gz pdf-as-4-68e996fe190e6ba9e7aa46cf81bae8e762f53256.tar.bz2 pdf-as-4-68e996fe190e6ba9e7aa46cf81bae8e762f53256.zip |
Web verification page outputs Qualified Certificate Flag
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java | 7 |
1 files changed, 6 insertions, 1 deletions
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("<th>Value Message</th>"); sb.append("<th>Error</th>"); sb.append("<th>Certificate</th>"); + sb.append("<th>Certificate</th>"); sb.append("<th>Signed Data</th>"); sb.append("</tr>"); @@ -302,7 +303,11 @@ public class VerifyServlet extends HttpServlet { } else { sb.append("<td>-</td>"); } - sb.append("<td><a href=\"signCert?SIGID=" + i + "\">here</a></td>"); + if(result.isQualifiedCertificate()) { + sb.append("<td><a href=\"signCert?SIGID=" + i + "\">here</a> (QC)</td>"); + } else { + sb.append("<td><a href=\"signCert?SIGID=" + i + "\">here</a></td>"); + } sb.append("<td><a href=\"signData?SIGID=" + i + "\">here</a></td>"); } else { |