Class OCSPRespBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.OCSPRespBuilderBCFips
- All Implemented Interfaces:
-
IOCSPRespBuilder
Wrapper class for
OCSPRespBuilder
.
-
Constructor Summary
ConstructorDescriptionOCSPRespBuilderBCFips
(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 OCSPRespBuilderBCFips
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
-
OCSPRespBuilderBCFips
public OCSPRespBuilderBCFips(org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder) Creates new wrapper instance forOCSPRespBuilder
.- Parameters:
-
ocspRespBuilder
-OCSPRespBuilder
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
OCSPRespBuilderBCFips
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:
-
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.
-