Package com.netscape.certsrv.ocsp
Interface IOCSPStore
-
- All Known Subinterfaces:
IDefStore
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.netscape.certsrv.common.NameValuePairs
getConfigParameters()
This method retrieves the configuration parameters associated with this OCSP store.void
init(IOCSPAuthority owner, IConfigStore config)
void
setConfigParameters(com.netscape.certsrv.common.NameValuePairs pairs)
This method stores the configuration parameters specified by the passed-in Name Value pairs object.void
shutdown()
void
startup()
OCSPResponse
validate(OCSPRequest req)
This method validates the information associated with the specified OCSP request and returns an OCSP response.
-
-
-
Method Detail
-
init
void init(IOCSPAuthority owner, IConfigStore config) throws EBaseException
- Throws:
EBaseException
-
startup
void startup() throws EBaseException
- Throws:
EBaseException
-
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
-
-