Class SingleRespBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.SingleRespBCFips
All Implemented Interfaces:
ISingleResp

public class SingleRespBCFips extends Object implements ISingleResp
Wrapper class for SingleResp.
  • Constructor Details

    • SingleRespBCFips

      public SingleRespBCFips (org.bouncycastle.cert.ocsp.SingleResp singleResp)
      Creates new wrapper instance for SingleResp.
      Parameters:
      singleResp - SingleResp to be wrapped
    • SingleRespBCFips

      public SingleRespBCFips (IBasicOCSPResponse basicResp)
      Creates new wrapper instance for SingleResp.
      Parameters:
      basicResp - IBasicOCSPResponse wrapper to get SingleResp
  • Method Details

    • getSingleResp

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

      public ICertificateID getCertID()
      Calls actual getCertID method for the wrapped SingleResp object.
      Specified by:
      getCertID in interface ISingleResp
      Returns:
      ICertificateID the wrapper for the received CertificateID.
    • getCertStatus

      public ICertificateStatus getCertStatus()
      Calls actual getCertStatus method for the wrapped SingleResp object.
      Specified by:
      getCertStatus in interface ISingleResp
      Returns:
      ICertificateStatus the wrapper for the received CertificateStatus.
    • getNextUpdate

      public Date getNextUpdate()
      Calls actual getNextUpdate method for the wrapped SingleResp object.
      Specified by:
      getNextUpdate in interface ISingleResp
      Returns:
      date of next update.
    • getThisUpdate

      public Date getThisUpdate()
      Calls actual getThisUpdate method for the wrapped SingleResp object.
      Specified by:
      getThisUpdate in interface ISingleResp
      Returns:
      date of this update.
    • 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