Interface ITimeStampResponseGenerator

  • All Known Implementing Classes:
    TimeStampResponseGeneratorBC

    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 Detail

      • generate

        ITimeStampResponse generate​(ITimeStampRequest request,
                                    java.math.BigInteger bigInteger,
                                    java.util.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.