Interface IOCSPStore

  • All Known Subinterfaces:
    IDefStore
    All Known Implementing Classes:
    DefStore, LDAPStore

    public interface IOCSPStore
    This class represents the generic interface for an Online Certificate Status Protocol (OCSP) store. Users can plugin different OCSP stores by extending this class. For example, imagine that if a user wants to use the corporate LDAP server for revocation checking, then the user would merely create a new class that extends this class (e. g. - "public interface ICorporateLDAPStore extends IOCSPStore").

    Version:
    $Revision$, $Date$
    • Method Detail

      • shutdown

        void shutdown()
      • validate

        OCSPResponse validate​(OCSPRequest req)
                       throws EBaseException
        This method validates the information associated with the specified OCSP request and returns an OCSP response.

        Parameters:
        req - an OCSP request
        Returns:
        OCSPResponse the OCSP response associated with the specified OCSP request
        Throws:
        EBaseException - an error associated with the inability to process the supplied OCSP request
      • getConfigParameters

        com.netscape.certsrv.common.NameValuePairs getConfigParameters()
        This method retrieves the configuration parameters associated with this OCSP store.

        Returns:
        NameValuePairs all configuration items
      • setConfigParameters

        void setConfigParameters​(com.netscape.certsrv.common.NameValuePairs pairs)
                          throws EBaseException
        This method stores the configuration parameters specified by the passed-in Name Value pairs object.

        Parameters:
        pairs - a name-value pair object
        Throws:
        EBaseException - an illegal name-value pair