Interface IBasicOCSPRespBuilder
- All Known Implementing Classes:
BasicOCSPRespBuilderBC
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 actualaddResponsemethod for the wrapped BasicOCSPRespBuilder object.build(IContentSigner signer, IX509CertificateHolder[] chain, Date time) Calls actualbuildmethod for the wrapped BasicOCSPRespBuilder object.setResponseExtensions(IExtensions extensions) Calls actualsetResponseExtensionsmethod for the wrapped BasicOCSPRespBuilder object.
-
Method Details
-
setResponseExtensions
Calls actualsetResponseExtensionsmethod for the wrapped BasicOCSPRespBuilder object.- Parameters:
extensions- response extensions wrapper- Returns:
IBasicOCSPRespBuilderthis wrapper object.
-
addResponse
IBasicOCSPRespBuilder addResponse(ICertificateID certID, ICertificateStatus certificateStatus, Date time, Date time1, IExtensions extensions) Calls actualaddResponsemethod for the wrapped BasicOCSPRespBuilder object.- Parameters:
certID- wrapped certificate ID detailscertificateStatus- wrapped status of the certificate - wrapped null if okaytime- date this response was valid ontime1- date when next update should be requestedextensions- optional wrapped extensions- Returns:
IBasicOCSPRespBuilderthis wrapper object.
-
build
IBasicOCSPResp build(IContentSigner signer, IX509CertificateHolder[] chain, Date time) throws AbstractOCSPException Calls actualbuildmethod for the wrapped BasicOCSPRespBuilder object.- Parameters:
signer- ContentSigner wrapperchain- list of wrapped X509CertificateHolder objectstime- produced at- Returns:
IBasicOCSPRespwrapper for built BasicOCSPResp object.- Throws:
AbstractOCSPException- wrapped OCSPException.
-