Class OCSPRespBuilderBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.OCSPRespBuilderBC
- All Implemented Interfaces:
-
IOCSPRespBuilder
Wrapper class for
OCSPRespBuilder
.
-
Constructor Summary
ConstructorDescriptionOCSPRespBuilderBC
(org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder) Creates new wrapper instance forOCSPRespBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionbuild
(int i, IBasicOCSPResp basicOCSPResp) Calls actualbuild
method for the wrapped OCSPRespBuilder object.boolean
Indicates whether some other object is "equal to" this one.static OCSPRespBuilderBC
Gets wrapper instance.org.bouncycastle.cert.ocsp.OCSPRespBuilder
Gets actual org.bouncycastle object being wrapped.int
GetsSUCCESSFUL
constant for the wrapped OCSPRespBuilder.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
OCSPRespBuilderBC
public OCSPRespBuilderBC(org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder) Creates new wrapper instance forOCSPRespBuilder
.- Parameters:
-
ocspRespBuilder
-OCSPRespBuilder
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
OCSPRespBuilderBC
instance.
-
getOcspRespBuilder
public org.bouncycastle.cert.ocsp.OCSPRespBuilder getOcspRespBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPRespBuilder
.
-
getSuccessful
public int getSuccessful()GetsSUCCESSFUL
constant for the wrapped OCSPRespBuilder.- Specified by:
-
getSuccessful
in interfaceIOCSPRespBuilder
- Returns:
- OCSPRespBuilder.SUCCESSFUL value.
-
build
Calls actualbuild
method for the wrapped OCSPRespBuilder object.- Specified by:
-
build
in interfaceIOCSPRespBuilder
- Parameters:
-
i
- status -
basicOCSPResp
- BasicOCSPResp wrapper - Returns:
-
IOCSPResp
the wrapper for built OCSPResp 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.
-