Class AddCRLServlet

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

    public class AddCRLServlet
    extends CMSServlet
    Update the OCSP responder with a new CRL
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • AddCRLServlet

        public AddCRLServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file "addCRL.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 crl certificate revocation list, base-64, DER encoded wrapped in -----BEGIN CERTIFICATE REVOCATION LIST-----, -----END CERTIFICATE REVOCATION LIST----- strings
        • http.param noui if true, use minimal hardcoded text response
        • signed.audit LOGGING_SIGNED_AUDIT_CRL_RETRIEVAL used when CRLs are retrieved by the OCSP Responder ("agent" or "EE")
        • signed.audit LOGGING_SIGNED_AUDIT_CRL_VALIDATION used when CRL is retrieved and validation process occurs ("agent" or "EE")
        Overrides:
        process in class CMSServlet
        Parameters:
        cmsReq - the object holding the request and response information
        Throws:
        EBaseException - an error has occurred
      • mapCRL1

        public org.mozilla.jss.netscape.security.x509.X509CRLImpl mapCRL1​(java.lang.String mime64)
                                                                   throws java.io.IOException
        Throws:
        java.io.IOException