Class TimeStampRequestBC

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.tsp.TimeStampRequest timeStampRequest  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeStampRequestBC​(org.bouncycastle.tsp.TimeStampRequest timeStampRequest)
      Creates new wrapper instance for TimeStampRequest.
    • 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.
      byte[] getEncoded()
      Calls actual getEncoded method for wrapped TimeStampRequest object.
      java.math.BigInteger getNonce()
      Calls actual getNonce method for wrapped TimeStampRequest object.
      org.bouncycastle.tsp.TimeStampRequest getTimeStampRequest()
      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

      • timeStampRequest

        private final org.bouncycastle.tsp.TimeStampRequest timeStampRequest
    • Constructor Detail

      • TimeStampRequestBC

        public TimeStampRequestBC​(org.bouncycastle.tsp.TimeStampRequest timeStampRequest)
        Creates new wrapper instance for TimeStampRequest.
        Parameters:
        timeStampRequest - TimeStampRequest to be wrapped
    • Method Detail

      • getTimeStampRequest

        public org.bouncycastle.tsp.TimeStampRequest getTimeStampRequest()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped TimeStampRequest.
      • getEncoded

        public byte[] getEncoded()
                          throws java.io.IOException
        Calls actual getEncoded method for wrapped TimeStampRequest object.
        Specified by:
        getEncoded in interface ITimeStampRequest
        Returns:
        the default encoding for the wrapped object.
        Throws:
        java.io.IOException - on encoding error.
      • getNonce

        public java.math.BigInteger getNonce()
        Calls actual getNonce method for wrapped TimeStampRequest object.
        Specified by:
        getNonce in interface ITimeStampRequest
        Returns:
        nonce value.
      • 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