Interface IOCSPRespBuilder
- All Known Implementing Classes:
-
OCSPRespBuilderBC
,OCSPRespBuilderBCFips
public interface IOCSPRespBuilder
This interface represents the wrapper for OCSPRespBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(int i, IBasicOCSPResp basicOCSPResp) Calls actualbuild
method for the wrapped OCSPRespBuilder object.int
GetsSUCCESSFUL
constant for the wrapped OCSPRespBuilder.
-
Method Details
-
getSuccessful
int getSuccessful()GetsSUCCESSFUL
constant for the wrapped OCSPRespBuilder.- Returns:
- OCSPRespBuilder.SUCCESSFUL value.
-
build
Calls actualbuild
method for the wrapped OCSPRespBuilder object.- Parameters:
-
i
- status -
basicOCSPResp
- BasicOCSPResp wrapper - Returns:
-
IOCSPResp
the wrapper for built OCSPResp object. - Throws:
-
AbstractOCSPException
- OCSPException wrapper.
-