Class OCSPReqBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cert.ocsp.OCSPReqBC
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cert.ocsp.OCSPReqocspReq
-
Constructor Summary
Constructors Constructor Description OCSPReqBC(org.bouncycastle.cert.ocsp.OCSPReq ocspReq)Creates new wrapper instance forOCSPReq.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.byte[]getEncoded()Calls actualgetEncodedmethod for the wrapped OCSPReq object.IExtensiongetExtension(IASN1ObjectIdentifier objectIdentifier)Calls actualgetExtensionmethod for the wrapped OCSPReq object.org.bouncycastle.cert.ocsp.OCSPReqgetOcspReq()Gets actual org.bouncycastle object being wrapped.IReq[]getRequestList()Calls actualgetRequestListmethod for the wrapped OCSPReq object.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Method Detail
-
getOcspReq
public org.bouncycastle.cert.ocsp.OCSPReq getOcspReq()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
OCSPReq.
-
getEncoded
public byte[] getEncoded() throws java.io.IOExceptionCalls actualgetEncodedmethod for the wrapped OCSPReq object.- Specified by:
getEncodedin interfaceIOCSPReq- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException- on encoding error.
-
getRequestList
public IReq[] getRequestList()
Calls actualgetRequestListmethod for the wrapped OCSPReq object.- Specified by:
getRequestListin interfaceIOCSPReq- Returns:
IReqrequest wrappers list.
-
getExtension
public IExtension getExtension(IASN1ObjectIdentifier objectIdentifier)
Calls actualgetExtensionmethod for the wrapped OCSPReq object.- Specified by:
getExtensionin interfaceIOCSPReq- Parameters:
objectIdentifier- ASN1ObjectIdentifier wrapper- Returns:
IExtensionwrapper for received Extension.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Object
-
-