Interface IOCSPResp
-
- All Known Implementing Classes:
OCSPRespBC
public interface IOCSPRespThis interface represents the wrapper for OCSPResp that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getEncoded()Calls actualgetEncodedmethod for the wrapped OCSPResp object.java.lang.ObjectgetResponseObject()Calls actualgetResponseObjectmethod for the wrapped OCSPResp object.intgetStatus()Calls actualgetStatusmethod for the wrapped OCSPResp object.intgetSuccessful()GetsSUCCESSFULconstant for the wrapped OCSPResp.
-
-
-
Method Detail
-
getEncoded
byte[] getEncoded() throws java.io.IOExceptionCalls actualgetEncodedmethod for the wrapped OCSPResp object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException- on encoding error.
-
getStatus
int getStatus()
Calls actualgetStatusmethod for the wrapped OCSPResp object.- Returns:
- status value.
-
getResponseObject
java.lang.Object getResponseObject() throws AbstractOCSPExceptionCalls actualgetResponseObjectmethod for the wrapped OCSPResp object.- Returns:
- response object.
- Throws:
AbstractOCSPException- wrapped OCSPException.
-
getSuccessful
int getSuccessful()
GetsSUCCESSFULconstant for the wrapped OCSPResp.- Returns:
- OCSPResp.SUCCESSFUL value.
-
-