Class OCSPReqBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.OCSPReqBuilderBCFips
- All Implemented Interfaces:
-
IOCSPReqBuilder
Wrapper class for
OCSPReqBuilder.
-
Constructor Summary
ConstructorsConstructorDescriptionOCSPReqBuilderBCFips(org.bouncycastle.cert.ocsp.OCSPReqBuilder reqBuilder) Creates new wrapper instance forOCSPReqBuilder. -
Method Summary
Modifier and TypeMethodDescriptionaddRequest(ICertificateID certificateID) Calls actualaddRequestmethod for the wrapped OCSPReqBuilder object.build()Calls actualbuildmethod for the wrapped OCSPReqBuilder object.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.OCSPReqBuilderGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.setRequestExtensions(IExtensions extensions) Calls actualsetRequestExtensionsmethod for the wrapped OCSPReqBuilder object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
OCSPReqBuilderBCFips
public OCSPReqBuilderBCFips(org.bouncycastle.cert.ocsp.OCSPReqBuilder reqBuilder) Creates new wrapper instance forOCSPReqBuilder.- Parameters:
-
reqBuilder-OCSPReqBuilderto be wrapped
-
-
Method Details
-
getReqBuilder
public org.bouncycastle.cert.ocsp.OCSPReqBuilder getReqBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPReqBuilder.
-
setRequestExtensions
Calls actualsetRequestExtensionsmethod for the wrapped OCSPReqBuilder object.- Specified by:
-
setRequestExtensionsin interfaceIOCSPReqBuilder - Parameters:
-
extensions- wrapper for extensions to set - Returns:
-
IOCSPReqBuilderthis wrapper object.
-
addRequest
Calls actualaddRequestmethod for the wrapped OCSPReqBuilder object.- Specified by:
-
addRequestin interfaceIOCSPReqBuilder - Parameters:
-
certificateID- CertificateID wrapper - Returns:
-
IOCSPReqBuilderthis wrapper object.
-
build
Calls actualbuildmethod for the wrapped OCSPReqBuilder object.- Specified by:
-
buildin interfaceIOCSPReqBuilder - Returns:
-
IOCSPReqwrapper for built OCSPReq 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.
-