aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java2
1 files changed, 1 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 aa93f7c9..e9d1f246 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
@@ -294,7 +294,7 @@ public class VerifyServlet extends HttpServlet {
Exception e = result.getVerificationException();
- X509Certificate cert = result.getSignerCertificate();
+ X509Certificate cert = (X509Certificate)result.getSignerCertificate();
sb.append("<td>" + cert.getSubjectDN().getName() + "</td>");
sb.append("<td>" + certCode + "</td>");