java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.ReqBC
All Implemented Interfaces:
IReq

public class ReqBC extends Object implements IReq
Wrapper class for Req.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReqBC(org.bouncycastle.cert.ocsp.Req req)
    Creates new wrapper instance for Req.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    Calls actual getCertID method for the wrapped Req object.
    org.bouncycastle.cert.ocsp.Req
    getReq()
    Gets actual org.bouncycastle object being wrapped.
    int
    Returns a hash code value based on the wrapped object.
    Delegates toString method call to the wrapped object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ReqBC

      public ReqBC (org.bouncycastle.cert.ocsp.Req req)
      Creates new wrapper instance for Req.
      Parameters:
      req - Req to be wrapped
  • Method Details

    • getReq

      public org.bouncycastle.cert.ocsp.Req getReq()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped Req.
    • getCertID

      public ICertificateID getCertID()
      Calls actual getCertID method for the wrapped Req object.
      Specified by:
      getCertID in interface IReq
      Returns:
      ICertificateID the wrapper for the received CertificateID.
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object