<%@ 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" %> <%@ page import="at.knowcenter.wag.egov.egiz.web.LocalRequestHelper" %> <% 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="<%=LocalRequestHelper.getLocalServerAddress(request,response)%>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="<%=LocalRequestHelper.getLocalServerAddress(request,response)%>pdf-as/">zurück</a> <% } %> </div> </body> </html>