com.netscape.certsrv.ocsp
Interface IOCSPStore

All Superinterfaces:
ISubsystem
All Known Subinterfaces:
IDefStore
All Known Implementing Classes:
DefStore, LDAPStore

public interface IOCSPStore
extends ISubsystem

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: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 NameValuePairs getConfigParameters()
          This method retrieves the configuration parameters associated with this OCSP store.
 void setConfigParameters(NameValuePairs pairs)
          This method stores the configuration parameters specified by the passed-in Name Value pairs object.
 com.netscape.cmsutil.ocsp.OCSPResponse validate(com.netscape.cmsutil.ocsp.OCSPRequest req)
          This method validates the information associated with the specified OCSP request and returns an OCSP response.
 
Methods inherited from interface com.netscape.certsrv.base.ISubsystem
getConfigStore, getId, init, setId, shutdown, startup
 

Method Detail

validate

com.netscape.cmsutil.ocsp.OCSPResponse validate(com.netscape.cmsutil.ocsp.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

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

Returns:
NameValuePairs all configuration items

setConfigParameters

void setConfigParameters(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