Class OCSPReqBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.OCSPReqBuilderBCFips
- All Implemented Interfaces:
-
IOCSPReqBuilder
Wrapper class for
OCSPReqBuilder
.
-
Constructor Summary
ConstructorDescriptionOCSPReqBuilderBCFips
(org.bouncycastle.cert.ocsp.OCSPReqBuilder reqBuilder) Creates new wrapper instance forOCSPReqBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionaddRequest
(ICertificateID certificateID) Calls actualaddRequest
method for the wrapped OCSPReqBuilder object.build()
Calls actualbuild
method for the wrapped OCSPReqBuilder object.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.OCSPReqBuilder
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.setRequestExtensions
(IExtensions extensions) Calls actualsetRequestExtensions
method for the wrapped OCSPReqBuilder object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
OCSPReqBuilderBCFips
public OCSPReqBuilderBCFips(org.bouncycastle.cert.ocsp.OCSPReqBuilder reqBuilder) Creates new wrapper instance forOCSPReqBuilder
.- Parameters:
-
reqBuilder
-OCSPReqBuilder
to be wrapped
-
-
Method Details
-
getReqBuilder
public org.bouncycastle.cert.ocsp.OCSPReqBuilder getReqBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPReqBuilder
.
-
setRequestExtensions
Calls actualsetRequestExtensions
method for the wrapped OCSPReqBuilder object.- Specified by:
-
setRequestExtensions
in interfaceIOCSPReqBuilder
- Parameters:
-
extensions
- wrapper for extensions to set - Returns:
-
IOCSPReqBuilder
this wrapper object.
-
addRequest
Calls actualaddRequest
method for the wrapped OCSPReqBuilder object.- Specified by:
-
addRequest
in interfaceIOCSPReqBuilder
- Parameters:
-
certificateID
- CertificateID wrapper - Returns:
-
IOCSPReqBuilder
this wrapper object.
-
build
Calls actualbuild
method for the wrapped OCSPReqBuilder object.- Specified by:
-
build
in interfaceIOCSPReqBuilder
- Returns:
-
IOCSPReq
wrapper for built OCSPReq 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.
-