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 actualgetEncodedmethod for the wrapped OCSPResp object.Calls actualgetResponseObjectmethod for the wrapped OCSPResp object.intCalls actualgetStatusmethod for the wrapped OCSPResp object.intGetsSUCCESSFULconstant for the wrapped OCSPResp.
-
Method Details
-
getEncoded
Calls actualgetEncodedmethod for the wrapped OCSPResp object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-
getStatus
int getStatus()Calls actualgetStatusmethod for the wrapped OCSPResp object.- Returns:
- status value.
-
getResponseObject
Calls 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.
-