From 81fe4613b2e26d6bb04893a9160d21225c072b33 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 14 Jul 2014 13:04:58 +0200 Subject: Changed API iaik Certificate to Java Certificate --- .../src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas') 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("" + cert.getSubjectDN().getName() + ""); sb.append("" + certCode + ""); -- cgit v1.2.3