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 actualbuildmethod for the wrapped OCSPRespBuilder object.intGetsSUCCESSFULconstant for the wrapped OCSPRespBuilder.
-
Method Details
-
getSuccessful
int getSuccessful()GetsSUCCESSFULconstant for the wrapped OCSPRespBuilder.- Returns:
- OCSPRespBuilder.SUCCESSFUL value.
-
build
Calls actualbuildmethod for the wrapped OCSPRespBuilder object.- Parameters:
-
i- status -
basicOCSPResp- BasicOCSPResp wrapper - Returns:
-
IOCSPRespthe wrapper for built OCSPResp object. - Throws:
-
AbstractOCSPException- OCSPException wrapper.
-