Package com.netscape.certsrv.ocsp
Interface IOCSPStore
-
- All Superinterfaces:
ISubsystem
- All Known Subinterfaces:
IDefStore
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$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.OCSPResponse
validate(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
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
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
-
-