Class TimeStampRequestGeneratorBC

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.tsp.TimeStampRequestGenerator requestGenerator  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeStampRequestGeneratorBC​(org.bouncycastle.tsp.TimeStampRequestGenerator requestGenerator)
      Creates new wrapper instance for TimeStampRequestGenerator.
    • 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.
      ITimeStampRequest generate​(IASN1ObjectIdentifier objectIdentifier, byte[] imprint, java.math.BigInteger nonce)
      Calls actual generate method for the wrapped TimeStampRequestGenerator object.
      org.bouncycastle.tsp.TimeStampRequestGenerator getRequestGenerator()
      Gets actual org.bouncycastle object being wrapped.
      int hashCode()
      Returns a hash code value based on the wrapped object.
      void setCertReq​(boolean var1)
      Calls actual setCertReq method for the wrapped TimeStampRequestGenerator object.
      void setReqPolicy​(java.lang.String reqPolicy)
      Calls actual setReqPolicy method for the wrapped TimeStampRequestGenerator 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

      • requestGenerator

        private final org.bouncycastle.tsp.TimeStampRequestGenerator requestGenerator
    • Constructor Detail

      • TimeStampRequestGeneratorBC

        public TimeStampRequestGeneratorBC​(org.bouncycastle.tsp.TimeStampRequestGenerator requestGenerator)
        Creates new wrapper instance for TimeStampRequestGenerator.
        Parameters:
        requestGenerator - TimeStampRequestGenerator to be wrapped
    • Method Detail

      • getRequestGenerator

        public org.bouncycastle.tsp.TimeStampRequestGenerator getRequestGenerator()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped TimeStampRequestGenerator.
      • setCertReq

        public void setCertReq​(boolean var1)
        Calls actual setCertReq method for the wrapped TimeStampRequestGenerator object.
        Specified by:
        setCertReq in interface ITimeStampRequestGenerator
        Parameters:
        var1 - the value to be set
      • setReqPolicy

        public void setReqPolicy​(java.lang.String reqPolicy)
        Calls actual setReqPolicy method for the wrapped TimeStampRequestGenerator object.
        Specified by:
        setReqPolicy in interface ITimeStampRequestGenerator
        Parameters:
        reqPolicy - the value to be set
      • generate

        public ITimeStampRequest generate​(IASN1ObjectIdentifier objectIdentifier,
                                          byte[] imprint,
                                          java.math.BigInteger nonce)
        Calls actual generate method for the wrapped TimeStampRequestGenerator object.
        Specified by:
        generate in interface ITimeStampRequestGenerator
        Parameters:
        objectIdentifier - ASN1ObjectIdentifier wrapper
        imprint - byte array
        nonce - BigInteger
        Returns:
        ITimeStampRequest the wrapper for generated TimeStampRequest object.
      • 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