Class RespIDBC

  • All Implemented Interfaces:
    IRespID

    public class RespIDBC
    extends java.lang.Object
    implements IRespID
    Wrapper class for RespID.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.cert.ocsp.RespID 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      org.bouncycastle.cert.ocsp.RespID getRespID()
      Gets actual org.bouncycastle object being wrapped.
      int hashCode()
      Returns a hash code value based on the wrapped object.
      java.lang.String toString()
      Delegates toString method call to the wrapped object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • respID

        private final org.bouncycastle.cert.ocsp.RespID respID
    • Constructor Detail

      • 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 Detail

      • getRespID

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

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

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

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