Interface IOCSPRespBuilder
-
- All Known Implementing Classes:
OCSPRespBuilderBC
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IOCSPResp
build(int i, IBasicOCSPResp basicOCSPResp)
Calls actualbuild
method for the wrapped OCSPRespBuilder object.int
getSuccessful()
GetsSUCCESSFUL
constant for the wrapped OCSPRespBuilder.
-
-
-
Method Detail
-
getSuccessful
int getSuccessful()
GetsSUCCESSFUL
constant for the wrapped OCSPRespBuilder.- Returns:
- OCSPRespBuilder.SUCCESSFUL value.
-
build
IOCSPResp build(int i, IBasicOCSPResp basicOCSPResp) throws AbstractOCSPException
Calls actualbuild
method for the wrapped OCSPRespBuilder object.- Parameters:
i
- statusbasicOCSPResp
- BasicOCSPResp wrapper- Returns:
IOCSPResp
the wrapper for built OCSPResp object.- Throws:
AbstractOCSPException
- OCSPException wrapper.
-
-