001 package jsp;
002
003 import javax.servlet.*;
004 import javax.servlet.http.*;
005 import javax.servlet.jsp.*;
006
007 public final class confirmRequest_jsp extends org.apache.jasper.runtime.HttpJspBase
008 implements org.apache.jasper.runtime.JspSourceDependent {
009
010 private static java.util.List _jspx_dependants;
011
012 public Object getDependants() {
013 return _jspx_dependants;
014 }
015
016 public void _jspService(HttpServletRequest request, HttpServletResponse response)
017 throws java.io.IOException, ServletException {
018
019 JspFactory _jspxFactory = null;
020 PageContext pageContext = null;
021 HttpSession session = null;
022 ServletContext application = null;
023 ServletConfig config = null;
024 JspWriter out = null;
025 Object page = this;
026 JspWriter _jspx_out = null;
027 PageContext _jspx_page_context = null;
028
029
030 try {
031 _jspxFactory = JspFactory.getDefaultFactory();
032 response.setContentType("text/html; charset=ISO-8859-1");
033 pageContext = _jspxFactory.getPageContext(this, request, response,
034 null, true, 8192, true);
035 _jspx_page_context = pageContext;
036 application = pageContext.getServletContext();
037 config = pageContext.getServletConfig();
038 session = pageContext.getSession();
039 out = pageContext.getOut();
040 _jspx_out = out;
041
042 out.write("\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n<title>Request Certificate - Confirm Request</title>\n</head>\n");
043
044 String reqCN = request.getParameter("reqCN");
045 String reqOU = request.getParameter("reqOU");
046 String reqO = request.getParameter("reqO");
047 String reqL = request.getParameter("reqL");
048 String reqST = request.getParameter("reqST");
049 String reqC = request.getParameter("reqC");
050 String challenge = request.getParameter("challenge");
051
052 out.write("\n\n<body>\n<h2>Request Certificate: Confirm and Submit Request</h2>\n<p>This is step 2 of 2 in requesting your certificate. Please review your name details and select the keysize for\nyour keypair. Upon clicking the <i>Submit Certificate Request</i> button, your certificate request will be generated\nand sent to the CA for further processing.</p>\n\n<form action=\"CertificateRequestServlet\" method=\"post\">\n <table border=\"0\">\n <tr>\n <th align=\"right\">Common Name (CN):</th>\n <td>\n <input type=\"hidden\" name=\"reqCN\" value=\"");
053 out.print(reqCN);
054 out.write("\"/> ");
055 out.print(reqCN);
056 out.write("\n </td>\n </tr>\n <tr>\n <th align=\"right\">Division/Business Unit (OU):</th>\n <td>\n <input type=\"hidden\" name=\"reqOU\" value=\"");
057 out.print(reqOU);
058 out.write("\"/> ");
059 out.print(reqOU);
060 out.write("\n </td>\n </tr>\n <tr>\n <th align=\"right\">Company/Organization (O):</th>\n <td>\n <input type=\"hidden\" name=\"reqO\" value=\"");
061 out.print(reqO);
062 out.write("\"/> ");
063 out.print(reqO);
064 out.write("\n </td>\n </tr>\n <tr>\n <th align=\"right\">City/Locality (L):</th>\n <td>\n <input type=\"hidden\" name=\"reqL\" value=\"");
065 out.print(reqL);
066 out.write("\"/> ");
067 out.print(reqL);
068 out.write("\n </td>\n </tr>\n <tr>\n <th align=\"right\">State/Province (ST):</th>\n <td>\n <input type=\"hidden\" name=\"reqST\" value=\"");
069 out.print(reqST);
070 out.write("\"/> ");
071 out.print(reqST);
072 out.write("\n </td>\n </tr>\n <tr>\n <th align=\"right\">Country Code (2 char) (C):</th>\n <td>\n <input type=\"hidden\" name=\"reqC\" value=\"");
073 out.print(reqC);
074 out.write("\"/> ");
075 out.print(reqC);
076 out.write("\n </td>\n </tr>\n <tr>\n <th align=\"right\">Challenge Phrase:</th>\n <td>\n ********\n </td>\n </tr>\n <tr>\n <th align=\"right\">Key Size:</th>\n <td>\n <keygen name=\"spkac\" challenge=\"");
077 out.print(challenge);
078 out.write("\"/>\n </td>\n </tr>\n </table>\n <input type=\"submit\" value=\"Submit Certificate Request\"/>\n <input type=\"reset\" name=\"reset\" value=\"Reset\"/>\n</form>\n<a href=\"");
079 out.print(request.getContextPath());
080 out.write("\">Cancel</a>\n</body>\n</html>\n");
081 } catch (Throwable t) {
082 if (!(t instanceof SkipPageException)){
083 out = _jspx_out;
084 if (out != null && out.getBufferSize() != 0)
085 out.clearBuffer();
086 if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
087 }
088 } finally {
089 if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
090 }
091 }
092 }