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 OCSPRespBuilderBCprivate final org.bouncycastle.cert.ocsp.OCSPRespBuilderprivate 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 actualbuildmethod for the wrapped OCSPRespBuilder object.booleanIndicates whether some other object is "equal to" this one.static OCSPRespBuilderBCGets 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.
-
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-OCSPRespBuilderto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
OCSPRespBuilderBCinstance.
-
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- statusbasicOCSPResp- BasicOCSPResp wrapper- Returns:
IOCSPRespthe wrapper for built OCSPResp object.- Throws:
OCSPExceptionBC
-
equals
-
hashCode
-
toString
-