Class ChallengeRevocationServlet1

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

    public class ChallengeRevocationServlet1
    extends CMSServlet
    Takes the certificate info (serial number) and optional challenge phrase, creates a revocation request and submits it to the authority subsystem for processing
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • ChallengeRevocationServlet1

        public ChallengeRevocationServlet1()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        Initialize the servlet. This servlet uses the file revocationResult.template for 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
      • process

        protected void process​(CMSRequest cmsReq)
                        throws EBaseException
        Process the HTTP request.
        • http.param REASON_CODE the revocation reason
        • http.param b64eCertificate the base-64 encoded certificate to revoke
        Overrides:
        process in class CMSServlet
        Parameters:
        cmsReq - the object holding the request and response information
        Throws:
        EBaseException