Class OCSPRespBuilderBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.OCSPRespBuilderBC
- All Implemented Interfaces:
IOCSPRespBuilder
Wrapper class for
OCSPRespBuilder
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final OCSPRespBuilderBC
private final org.bouncycastle.cert.ocsp.OCSPRespBuilder
private static final int
-
Constructor Summary
ConstructorsConstructorDescriptionOCSPRespBuilderBC
(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.
-
Field Details
-
INSTANCE
-
SUCCESSFUL
private static final int SUCCESSFUL- See Also:
-
ocspRespBuilder
private final org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder
-
-
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
- statusbasicOCSPResp
- 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.
-