diff options
Diffstat (limited to 'webapp/jsp/results.jsp')
-rw-r--r-- | webapp/jsp/results.jsp | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/webapp/jsp/results.jsp b/webapp/jsp/results.jsp new file mode 100644 index 0000000..833c35a --- /dev/null +++ b/webapp/jsp/results.jsp @@ -0,0 +1,96 @@ +<%@ page contentType="text/html; charset=UTF-8" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.sig.SignatureResponse" %>
+<%
+ List results = (List) request.getAttribute("results");
+ Object bb = request.getAttribute("backbutton");
+ boolean backbutton = true;
+ if (bb != null && bb.equals("false"))
+ {
+ backbutton = false;
+ }
+%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <title>PDF-AS Amtssignaturen Resultat</title>
+ <link rel="stylesheet" type="text/css" href="/pdf-as/css/styles.css" />
+</head>
+<body>
+<div class="maindiv">
+<h1>PDF-AS Amtssignaturen</h1>
+<div class="mainframe">
+<div class="mainheadline">Resultat</div>
+
+<div class="contentsdiv">
+<%
+ Iterator resit = results.iterator();
+ while (resit.hasNext())
+ {
+ SignatureResponse result = (SignatureResponse) resit.next();
+%>
+
+
+
+
+<fieldset><legend><b>Zertifikat</b></legend>
+<table class="srt">
+ <tr><td>Signator:</td><td class="srtd"><%= result.getX509SubjectName() %></td></tr>
+ <tr><td>Aussteller:</td><td class="srtd"><%= result.getX509IssuerName() %></td></tr>
+ <tr><td>Seriennummer:</td><td class="srtd"><%= result.getX509SerialNumber() %></td></tr>
+
+<%
+ List public_properties = result.getPublicProperties();
+ Iterator propit = public_properties.iterator();
+ while (propit.hasNext())
+ {
+ String public_property = (String) propit.next();
+%>
+ <tr><td> Eigenschaft:</td><td class="srtd"><%= public_property %></td></tr>
+<%
+ }
+%>
+ <tr><td>Zertifikat:</td><td class="srcc_<%= result.getCertificateCheckCode() %>"><%= result.getCertificateCheckInfo() %></td></tr>
+
+</table>
+</fieldset>
+<fieldset><legend><b>Signatur-Check</b></legend>
+<div class="srsc_<%= result.getSignatureCheckCode() %>"><%= result.getSignatureCheckInfo() %></div>
+</fieldset>
+<fieldset><legend><b>Manifest-Check</b></legend>
+<div class="srmc_<%= result.getSignatureManifestCheckCode() %>"><%= result.getSignatureManifestCheckInfo() %></div>
+</fieldset>
+
+
+
+
+
+<%
+ if (resit.hasNext())
+ {
+%>
+ <br />
+<%
+ }
+ }
+%>
+</div>
+
+</div>
+<%
+ if (backbutton)
+ {
+%>
+<a class="big" href="/pdf-as/">zurück</a>
+<%
+ }
+%>
+</div>
+</body>
+</html>
+
+
+
+
|