Interface IOCSPResp
- All Known Implementing Classes:
-
OCSPRespBC
,OCSPRespBCFips
public interface IOCSPResp
This interface represents the wrapper for OCSPResp that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Calls actualgetEncoded
method for the wrapped OCSPResp object.Calls actualgetResponseObject
method for the wrapped OCSPResp object.int
Calls actualgetStatus
method for the wrapped OCSPResp object.int
GetsSUCCESSFUL
constant for the wrapped OCSPResp.
-
Method Details
-
getEncoded
Calls actualgetEncoded
method for the wrapped OCSPResp object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-
getStatus
int getStatus()Calls actualgetStatus
method for the wrapped OCSPResp object.- Returns:
- status value.
-
getResponseObject
Calls actualgetResponseObject
method for the wrapped OCSPResp object.- Returns:
- response object.
- Throws:
-
AbstractOCSPException
- wrapped OCSPException.
-
getSuccessful
int getSuccessful()GetsSUCCESSFUL
constant for the wrapped OCSPResp.- Returns:
- OCSPResp.SUCCESSFUL value.
-