Class OCSPReqBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.OCSPReqBC
- All Implemented Interfaces:
IOCSPReq
Wrapper class for
OCSPReq
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOCSPReqBC
(org.bouncycastle.cert.ocsp.OCSPReq ocspReq) Creates new wrapper instance forOCSPReq
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.byte[]
Calls actualgetEncoded
method for the wrapped OCSPReq object.getExtension
(IASN1ObjectIdentifier objectIdentifier) Calls actualgetExtension
method for the wrapped OCSPReq object.org.bouncycastle.cert.ocsp.OCSPReq
Gets actual org.bouncycastle object being wrapped.IReq[]
Calls actualgetRequestList
method for the wrapped OCSPReq object.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Field Details
-
ocspReq
private final org.bouncycastle.cert.ocsp.OCSPReq ocspReq
-
-
Constructor Details
-
OCSPReqBC
public OCSPReqBC(org.bouncycastle.cert.ocsp.OCSPReq ocspReq) Creates new wrapper instance forOCSPReq
.- Parameters:
ocspReq
-OCSPReq
to be wrapped
-
-
Method Details
-
getOcspReq
public org.bouncycastle.cert.ocsp.OCSPReq getOcspReq()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
OCSPReq
.
-
getEncoded
Calls actualgetEncoded
method for the wrapped OCSPReq object.- Specified by:
getEncoded
in interfaceIOCSPReq
- Returns:
- the default encoding for the wrapped object.
- Throws:
IOException
- on encoding error.
-
getRequestList
Calls actualgetRequestList
method for the wrapped OCSPReq object.- Specified by:
getRequestList
in interfaceIOCSPReq
- Returns:
IReq
request wrappers list.
-
getExtension
Calls actualgetExtension
method for the wrapped OCSPReq object.- Specified by:
getExtension
in interfaceIOCSPReq
- Parameters:
objectIdentifier
- ASN1ObjectIdentifier wrapper- Returns:
IExtension
wrapper for received Extension.
-
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.
-