Interface IOCSPReqBuilder
- All Known Implementing Classes:
-
OCSPReqBuilderBC
,OCSPReqBuilderBCFips
public interface IOCSPReqBuilder
This interface represents the wrapper for OCSPReqBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionaddRequest
(ICertificateID certificateID) Calls actualaddRequest
method for the wrapped OCSPReqBuilder object.build()
Calls actualbuild
method for the wrapped OCSPReqBuilder object.setRequestExtensions
(IExtensions extensions) Calls actualsetRequestExtensions
method for the wrapped OCSPReqBuilder object.
-
Method Details
-
setRequestExtensions
Calls actualsetRequestExtensions
method for the wrapped OCSPReqBuilder object.- Parameters:
-
extensions
- wrapper for extensions to set - Returns:
-
IOCSPReqBuilder
this wrapper object.
-
addRequest
Calls actualaddRequest
method for the wrapped OCSPReqBuilder object.- Parameters:
-
certificateID
- CertificateID wrapper - Returns:
-
IOCSPReqBuilder
this wrapper object.
-
build
Calls actualbuild
method for the wrapped OCSPReqBuilder object.- Returns:
-
IOCSPReq
wrapper for built OCSPReq object. - Throws:
-
AbstractOCSPException
- wrapped OCSPException.
-