Class OCSPReqBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.OCSPReqBC
- All Implemented Interfaces:
-
IOCSPReq
Wrapper class for
OCSPReq.
-
Constructor Summary
ConstructorsConstructorDescriptionOCSPReqBC(org.bouncycastle.cert.ocsp.OCSPReq ocspReq) Creates new wrapper instance forOCSPReq. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.byte[]Calls actualgetEncodedmethod for the wrapped OCSPReq object.getExtension(IASN1ObjectIdentifier objectIdentifier) Calls actualgetExtensionmethod for the wrapped OCSPReq object.org.bouncycastle.cert.ocsp.OCSPReqGets actual org.bouncycastle object being wrapped.IReq[]Calls actualgetRequestListmethod for the wrapped OCSPReq object.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
OCSPReqBC
public OCSPReqBC(org.bouncycastle.cert.ocsp.OCSPReq ocspReq) Creates new wrapper instance forOCSPReq.- Parameters:
-
ocspReq-OCSPReqto be wrapped
-
-
Method Details
-
getOcspReq
public org.bouncycastle.cert.ocsp.OCSPReq getOcspReq()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPReq.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped OCSPReq object.- Specified by:
-
getEncodedin interfaceIOCSPReq - Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-
getRequestList
Calls actualgetRequestListmethod for the wrapped OCSPReq object.- Specified by:
-
getRequestListin interfaceIOCSPReq - Returns:
-
IReqrequest wrappers list.
-
getExtension
Calls actualgetExtensionmethod for the wrapped OCSPReq object.- Specified by:
-
getExtensionin interfaceIOCSPReq - Parameters:
-
objectIdentifier- ASN1ObjectIdentifier wrapper - Returns:
-
IExtensionwrapper 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
DelegatestoStringmethod call to the wrapped object.
-