Class Timestamper

    • Method Detail

      • setURL

        public void setURL​(String tsaurl)
        Set the URL of the timestamping service.
        Parameters:
        tsaurl - the URL of the timestamping service
      • setURLs

        public void setURLs​(String... tsaurls)
        Set the URLs of the timestamping services.
        Parameters:
        tsaurls - the URLs of the timestamping services
        Since:
        2.0
      • setRetries

        public void setRetries​(int retries)
        Set the number of retries.
        Parameters:
        retries - the number of retries
      • setRetryWait

        public void setRetryWait​(int retryWait)
        Set the number of seconds to wait between retries.
        Parameters:
        retryWait - the wait time between retries (in seconds)
      • create

        public static Timestamper create​(TimestampingMode mode)
        Returns the timestamper for the specified mode.
        Parameters:
        mode - the timestamping mode
        Returns:
        a new timestamper for the specified mode