Class GetPk12

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class GetPk12
    extends CMSServlet
    Get the recovered key in PKCS#12 format
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • GetPk12

        public GetPk12()
        Constructs getPk12 servlet.
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file "finishRecovery.template" to process the response.
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class CMSServlet
        Parameters:
        sc - servlet configuration, read from the web.xml file
        Throws:
        javax.servlet.ServletException
      • getServletInfo

        public java.lang.String getServletInfo()
        Returns serlvet information.
        Specified by:
        getServletInfo in interface javax.servlet.Servlet
        Overrides:
        getServletInfo in class javax.servlet.GenericServlet
      • process

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Process the HTTP request.
        • http.param recoveryID ID of request to recover
        Overrides:
        process in class CMSServlet
        Parameters:
        cmsReq - the object holding the request and response information
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request