Class OCSPRespBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.OCSPRespBuilderBCFips
- All Implemented Interfaces:
-
IOCSPRespBuilder
Wrapper class for
OCSPRespBuilder.
-
Constructor Summary
ConstructorsConstructorDescriptionOCSPRespBuilderBCFips(org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder) Creates new wrapper instance forOCSPRespBuilder. -
Method Summary
Modifier and TypeMethodDescriptionbuild(int i, IBasicOCSPResp basicOCSPResp) Calls actualbuildmethod for the wrapped OCSPRespBuilder object.booleanIndicates whether some other object is "equal to" this one.static OCSPRespBuilderBCFipsGets wrapper instance.org.bouncycastle.cert.ocsp.OCSPRespBuilderGets actual org.bouncycastle object being wrapped.intGetsSUCCESSFULconstant for the wrapped OCSPRespBuilder.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
OCSPRespBuilderBCFips
public OCSPRespBuilderBCFips(org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder) Creates new wrapper instance forOCSPRespBuilder.- Parameters:
-
ocspRespBuilder-OCSPRespBuilderto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
OCSPRespBuilderBCFipsinstance.
-
getOcspRespBuilder
public org.bouncycastle.cert.ocsp.OCSPRespBuilder getOcspRespBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPRespBuilder.
-
getSuccessful
public int getSuccessful()GetsSUCCESSFULconstant for the wrapped OCSPRespBuilder.- Specified by:
-
getSuccessfulin interfaceIOCSPRespBuilder - Returns:
- OCSPRespBuilder.SUCCESSFUL value.
-
build
Calls actualbuildmethod for the wrapped OCSPRespBuilder object.- Specified by:
-
buildin interfaceIOCSPRespBuilder - Parameters:
-
i- status -
basicOCSPResp- BasicOCSPResp wrapper - Returns:
-
IOCSPRespthe 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
DelegatestoStringmethod call to the wrapped object.
-