Class DoRevokeTPS

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

    public class DoRevokeTPS
    extends CMSServlet
    Revoke a Certificate
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • DoRevokeTPS

        public DoRevokeTPS()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file "revocationResult.template" to render the result
        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

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Serves HTTP request. The http parameters used by this request are as follows:
         serialNumber Serial number of certificate to revoke (in HEX)
         revocationReason Revocation reason (Described below)
         totalRecordCount [number]
         verifiedRecordCount [number]
         invalidityDate [number of seconds in Jan 1,1970]
        
         
        revocationReason can be one of these values:
         0 = Unspecified   (default)
         1 = Key compromised
         2 = CA key compromised
         3 = Affiliation changed
         4 = Certificate superseded
         5 = Cessation of operation
         6 = Certificate is on hold
         
        Overrides:
        process in class CMSServlet
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request