Class AddCAServlet

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

    public class AddCAServlet
    extends CMSServlet
    Configure the CA to respond to OCSP requests for a CA
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Detail

      • BIG_ZERO

        public static final java.math.BigInteger BIG_ZERO
      • MINUS_ONE

        public static final java.lang.Long MINUS_ONE
    • Constructor Detail

      • AddCAServlet

        public AddCAServlet()
    • Method Detail

      • init

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

        protected void process​(CMSRequest cmsReq)
                        throws EBaseException
        Process the HTTP request.
        • http.param cert ca certificate. The format is base-64, DER encoded, wrapped with -----BEGIN CERTIFICATE-----, -----END CERTIFICATE----- strings
        • signed.audit LOGGING_SIGNED_AUDIT_OCSP_ADD_CA_REQUEST used when a CA is attempted to be added to the OCSP responder
        • signed.audit LOGGING_SIGNED_AUDIT_OCSP_ADD_CA_REQUEST_PROCESSED used when an add CA request to the OCSP Responder is processed
        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