Interface IOCSPResp
-
- All Known Implementing Classes:
OCSPRespBC
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getEncoded()
Calls actualgetEncoded
method for the wrapped OCSPResp object.java.lang.Object
getResponseObject()
Calls actualgetResponseObject
method for the wrapped OCSPResp object.int
getStatus()
Calls actualgetStatus
method for the wrapped OCSPResp object.int
getSuccessful()
GetsSUCCESSFUL
constant for the wrapped OCSPResp.
-
-
-
Method Detail
-
getEncoded
byte[] getEncoded() throws java.io.IOException
Calls actualgetEncoded
method for the wrapped OCSPResp object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException
- on encoding error.
-
getStatus
int getStatus()
Calls actualgetStatus
method for the wrapped OCSPResp object.- Returns:
- status value.
-
getResponseObject
java.lang.Object getResponseObject() throws AbstractOCSPException
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.
-
-