Class OCSPReqBuilderBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.OCSPReqBuilderBC
- All Implemented Interfaces:
-
IOCSPReqBuilder
Wrapper class for
OCSPReqBuilder
.
-
Constructor Summary
ConstructorDescriptionOCSPReqBuilderBC
(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
-
OCSPReqBuilderBC
public OCSPReqBuilderBC(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:
-
OCSPExceptionBC
-
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.
-