Interface ITimeStampResponseGenerator

All Known Implementing Classes:
TimeStampResponseGeneratorBC, TimeStampResponseGeneratorBCFips

public interface ITimeStampResponseGenerator
This interface represents the wrapper for TimeStampResponseGenerator that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Details

    • generate

      ITimeStampResponse generate (ITimeStampRequest request, BigInteger bigInteger, Date date) throws AbstractTSPException
      Calls actual generate method for the wrapped TimeStampResponseGenerator object.
      Parameters:
      request - the wrapper for request this response is for
      bigInteger - serial number for the response token
      date - generation time for the response token
      Returns:
      ITimeStampResponse the wrapper for the generated TimeStampResponse object.
      Throws:
      AbstractTSPException - if TSPException occurs during wrapped object method call.