Class BasicOCSPRespBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.BasicOCSPRespBuilderBCFips
- All Implemented Interfaces:
-
IBasicOCSPRespBuilder
Wrapper class for
BasicOCSPRespBuilder.
-
Constructor Summary
ConstructorsConstructorDescriptionBasicOCSPRespBuilderBCFips(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 actualaddResponsemethod for the wrapped BasicOCSPRespBuilder object.build(IContentSigner signer, IX509CertificateHolder[] chain, Date time) Calls actualbuildmethod for the wrapped BasicOCSPRespBuilder object.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.BasicOCSPRespBuilderGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.setResponseExtensions(IExtensions extensions) Calls actualsetResponseExtensionsmethod for the wrapped BasicOCSPRespBuilder object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
BasicOCSPRespBuilderBCFips
public BasicOCSPRespBuilderBCFips(org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder basicOCSPRespBuilder) Creates new wrapper instance forBasicOCSPRespBuilder.- Parameters:
-
basicOCSPRespBuilder-BasicOCSPRespBuilderto be wrapped
-
BasicOCSPRespBuilderBCFips
Creates new wrapper instance forBasicOCSPRespBuilder.- Parameters:
-
respID- RespID wrapper to createBasicOCSPRespBuilderto be wrapped
-
-
Method Details
-
getBasicOCSPRespBuilder
public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder getBasicOCSPRespBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
BasicOCSPRespBuilder.
-
setResponseExtensions
Calls actualsetResponseExtensionsmethod for the wrapped BasicOCSPRespBuilder object.- Specified by:
-
setResponseExtensionsin interfaceIBasicOCSPRespBuilder - Parameters:
-
extensions- response extensions wrapper - Returns:
-
IBasicOCSPRespBuilderthis wrapper object.
-
addResponse
public IBasicOCSPRespBuilder addResponse(ICertificateID certID, ICertificateStatus certificateStatus, Date time, Date time1, IExtensions extensions) Calls actualaddResponsemethod for the wrapped BasicOCSPRespBuilder object.- Specified by:
-
addResponsein 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:
-
IBasicOCSPRespBuilderthis wrapper object.
-
build
public IBasicOCSPResp build(IContentSigner signer, IX509CertificateHolder[] chain, Date time) throws OCSPExceptionBCFips Calls actualbuildmethod for the wrapped BasicOCSPRespBuilder object.- Specified by:
-
buildin interfaceIBasicOCSPRespBuilder - Parameters:
-
signer- ContentSigner wrapper -
chain- list of wrapped X509CertificateHolder objects -
time- produced at - Returns:
-
IBasicOCSPRespwrapper 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
DelegatestoStringmethod call to the wrapped object.
-