Interface IBasicOCSPRespBuilder
- All Known Implementing Classes:
-
BasicOCSPRespBuilderBC
,BasicOCSPRespBuilderBCFips
public interface IBasicOCSPRespBuilder
This interface represents the wrapper for BasicOCSPRespBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionaddResponse
(ICertificateID certID, ICertificateStatus certificateStatus, Date time, Date time1, IExtensions extensions) Calls actualaddResponse
method for the wrapped BasicOCSPRespBuilder object.build
(IContentSigner signer, IX509CertificateHolder[] chain, Date time) Calls actualbuild
method for the wrapped BasicOCSPRespBuilder object.setResponseExtensions
(IExtensions extensions) Calls actualsetResponseExtensions
method for the wrapped BasicOCSPRespBuilder object.
-
Method Details
-
setResponseExtensions
Calls actualsetResponseExtensions
method for the wrapped BasicOCSPRespBuilder object.- Parameters:
-
extensions
- response extensions wrapper - Returns:
-
IBasicOCSPRespBuilder
this wrapper object.
-
addResponse
IBasicOCSPRespBuilder addResponse(ICertificateID certID, ICertificateStatus certificateStatus, Date time, Date time1, IExtensions extensions) Calls actualaddResponse
method for the wrapped BasicOCSPRespBuilder object.- Parameters:
-
certID
- wrapped certificate ID details -
certificateStatus
- wrapped status of the certificate - wrapped null if okay -
time
- date this response was valid on -
time1
- date when next update should be requested -
extensions
- optional wrapped extensions - Returns:
-
IBasicOCSPRespBuilder
this wrapper object.
-
build
IBasicOCSPResp build(IContentSigner signer, IX509CertificateHolder[] chain, Date time) throws AbstractOCSPException Calls actualbuild
method for the wrapped BasicOCSPRespBuilder object.- Parameters:
-
signer
- ContentSigner wrapper -
chain
- list of wrapped X509CertificateHolder objects -
time
- produced at - Returns:
-
IBasicOCSPResp
wrapper for built BasicOCSPResp object. - Throws:
-
AbstractOCSPException
- wrapped OCSPException.
-