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 Summary
Modifier and TypeMethodDescriptiongenerate
(ITimeStampRequest request, BigInteger bigInteger, Date date) Calls actualgenerate
method for the wrapped TimeStampResponseGenerator object.
-
Method Details
-
generate
ITimeStampResponse generate(ITimeStampRequest request, BigInteger bigInteger, Date date) throws AbstractTSPException Calls actualgenerate
method for the wrapped TimeStampResponseGenerator object.- Parameters:
request
- the wrapper for request this response is forbigInteger
- serial number for the response tokendate
- 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.
-