Interface IOCSPRespBuilder
-
- All Known Implementing Classes:
OCSPRespBuilderBC
public interface IOCSPRespBuilderThis interface represents the wrapper for OCSPRespBuilder 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 IOCSPRespbuild(int i, IBasicOCSPResp basicOCSPResp)Calls actualbuildmethod for the wrapped OCSPRespBuilder object.intgetSuccessful()GetsSUCCESSFULconstant for the wrapped OCSPRespBuilder.
-
-
-
Method Detail
-
getSuccessful
int getSuccessful()
GetsSUCCESSFULconstant for the wrapped OCSPRespBuilder.- Returns:
- OCSPRespBuilder.SUCCESSFUL value.
-
build
IOCSPResp build(int i, IBasicOCSPResp basicOCSPResp) throws AbstractOCSPException
Calls actualbuildmethod for the wrapped OCSPRespBuilder object.- Parameters:
i- statusbasicOCSPResp- BasicOCSPResp wrapper- Returns:
IOCSPRespthe wrapper for built OCSPResp object.- Throws:
AbstractOCSPException- OCSPException wrapper.
-
-