Package com.netscape.certsrv.ocsp
Interface IOCSPService
-
public interface IOCSPServiceThis class represents the servlet that serves the Online Certificate Status Protocol (OCSP) requests.- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetNumOCSPRequest()Returns the in-memory count of the processed OCSP requests.longgetOCSPRequestTotalTime()Returns the in-memory time (in mini-second) of the processed time for OCSP requests.longgetOCSPTotalData()Returns the total data signed for OCSP requests.longgetOCSPTotalLookupTime()longgetOCSPTotalSignTime()Returns the in-memory time (in mini-second) of the signing time for OCSP requests.OCSPResponsevalidate(OCSPRequest r)This method validates the information associated with the specified OCSP request and returns an OCSP response.
-
-
-
Method Detail
-
validate
OCSPResponse validate(OCSPRequest r) throws EBaseException
This method validates the information associated with the specified OCSP request and returns an OCSP response.- Parameters:
r- 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
-
getNumOCSPRequest
long getNumOCSPRequest()
Returns the in-memory count of the processed OCSP requests.- Returns:
- number of processed OCSP requests in memory
-
getOCSPRequestTotalTime
long getOCSPRequestTotalTime()
Returns the in-memory time (in mini-second) of the processed time for OCSP requests.- Returns:
- processed times for OCSP requests
-
getOCSPTotalSignTime
long getOCSPTotalSignTime()
Returns the in-memory time (in mini-second) of the signing time for OCSP requests.- Returns:
- processed times for OCSP requests
-
getOCSPTotalLookupTime
long getOCSPTotalLookupTime()
-
getOCSPTotalData
long getOCSPTotalData()
Returns the total data signed for OCSP requests.- Returns:
- processed times for OCSP requests
-
-