Class BasicOCSPRespBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.BasicOCSPRespBuilderBCFips
- All Implemented Interfaces:
-
IBasicOCSPRespBuilder
Wrapper class for
BasicOCSPRespBuilder
.
-
Constructor Summary
ConstructorDescriptionBasicOCSPRespBuilderBCFips
(IRespID respID) Creates new wrapper instance forBasicOCSPRespBuilder
.BasicOCSPRespBuilderBCFips
(org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder basicOCSPRespBuilder) Creates new wrapper instance forBasicOCSPRespBuilder
. -
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.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.setResponseExtensions
(IExtensions extensions) Calls actualsetResponseExtensions
method for the wrapped BasicOCSPRespBuilder object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
BasicOCSPRespBuilderBCFips
public BasicOCSPRespBuilderBCFips(org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder basicOCSPRespBuilder) Creates new wrapper instance forBasicOCSPRespBuilder
.- Parameters:
-
basicOCSPRespBuilder
-BasicOCSPRespBuilder
to be wrapped
-
BasicOCSPRespBuilderBCFips
Creates new wrapper instance forBasicOCSPRespBuilder
.- Parameters:
-
respID
- RespID wrapper to createBasicOCSPRespBuilder
to be wrapped
-
-
Method Details
-
getBasicOCSPRespBuilder
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder getBasicOCSPRespBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
BasicOCSPRespBuilder
.
-
setResponseExtensions
Calls actualsetResponseExtensions
method for the wrapped BasicOCSPRespBuilder object.- Specified by:
-
setResponseExtensions
in interfaceIBasicOCSPRespBuilder
- Parameters:
-
extensions
- response extensions wrapper - Returns:
-
IBasicOCSPRespBuilder
this wrapper object.
-
addResponse
public IBasicOCSPRespBuilder addResponse(ICertificateID certID, ICertificateStatus certificateStatus, Date time, Date time1, IExtensions extensions) Calls actualaddResponse
method for the wrapped BasicOCSPRespBuilder object.- Specified by:
-
addResponse
in interfaceIBasicOCSPRespBuilder
- 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
public IBasicOCSPResp build(IContentSigner signer, IX509CertificateHolder[] chain, Date time) throws OCSPExceptionBCFips Calls actualbuild
method for the wrapped BasicOCSPRespBuilder object.- Specified by:
-
build
in interfaceIBasicOCSPRespBuilder
- Parameters:
-
signer
- ContentSigner wrapper -
chain
- list of wrapped X509CertificateHolder objects -
time
- produced at - Returns:
-
IBasicOCSPResp
wrapper for built BasicOCSPResp object. - Throws:
-
OCSPExceptionBCFips
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object.
-