Class RespIDBC

java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.RespIDBC
All Implemented Interfaces:
IRespID

public class RespIDBC extends Object implements IRespID
Wrapper class for RespID.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RespIDBC(IX500Name x500Name)
    Creates new wrapper instance for RespID.
    RespIDBC(org.bouncycastle.cert.ocsp.RespID respID)
    Creates new wrapper instance for RespID.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    org.bouncycastle.cert.ocsp.RespID
    Gets actual org.bouncycastle object being wrapped.
    int
    Returns a hash code value based on the wrapped object.
    Calls actual toASN1Primitive method for the wrapped BasicOCSPResp 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

    • RespIDBC

      public RespIDBC (org.bouncycastle.cert.ocsp.RespID respID)
      Creates new wrapper instance for RespID.
      Parameters:
      respID - RespID to be wrapped
    • RespIDBC

      public RespIDBC (IX500Name x500Name)
      Creates new wrapper instance for RespID.
      Parameters:
      x500Name - X500Name wrapper to create RespID
  • Method Details

    • getRespID

      public org.bouncycastle.cert.ocsp.RespID getRespID()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped RespID.
    • toASN1Primitive

      public IResponderID toASN1Primitive()
      Calls actual toASN1Primitive method for the wrapped BasicOCSPResp object.
      Specified by:
      toASN1Primitive in interface IRespID
      Returns:
      Responder ID as a ASN1 primitive.
    • 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