Class OCSPReqBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.OCSPReqBCFips
All Implemented Interfaces:
IOCSPReq

public class OCSPReqBCFips extends Object implements IOCSPReq
Wrapper class for OCSPReq.
  • Constructor Summary

    Constructors
    Constructor
    Description
    OCSPReqBCFips(org.bouncycastle.cert.ocsp.OCSPReq ocspReq)
    Creates new wrapper instance for OCSPReq.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    byte[]
    Calls actual getEncoded method for the wrapped OCSPReq object.
    getExtension(IASN1ObjectIdentifier objectIdentifier)
    Calls actual getExtension method for the wrapped OCSPReq object.
    org.bouncycastle.cert.ocsp.OCSPReq
    Gets actual org.bouncycastle object being wrapped.
    IReq[]
    Calls actual getRequestList method for the wrapped OCSPReq object.
    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

    • OCSPReqBCFips

      public OCSPReqBCFips (org.bouncycastle.cert.ocsp.OCSPReq ocspReq)
      Creates new wrapper instance for OCSPReq.
      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

      public byte[] getEncoded() throws IOException
      Calls actual getEncoded method for the wrapped OCSPReq object.
      Specified by:
      getEncoded in interface IOCSPReq
      Returns:
      the default encoding for the wrapped object.
      Throws:
      IOException - on encoding error.
    • getRequestList

      public IReq[] getRequestList()
      Calls actual getRequestList method for the wrapped OCSPReq object.
      Specified by:
      getRequestList in interface IOCSPReq
      Returns:
      IReq request wrappers list.
    • getExtension

      public IExtension getExtension (IASN1ObjectIdentifier objectIdentifier)
      Calls actual getExtension method for the wrapped OCSPReq object.
      Specified by:
      getExtension in interface IOCSPReq
      Parameters:
      objectIdentifier - ASN1ObjectIdentifier wrapper
      Returns:
      IExtension wrapper for received Extension.
    • 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