iText 9.8.0 API
iText.Commons.Bouncycastle.Tsp.ITimeStampResponseGenerator Interface Reference

This interface represents the wrapper for TimeStampResponseGenerator that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Inheritance diagram for iText.Commons.Bouncycastle.Tsp.ITimeStampResponseGenerator:
iText.Bouncycastle.Tsp.TimeStampResponseGeneratorBC iText.Bouncycastlefips.Tsp.TimeStampResponseGeneratorBCFips

Public Member Functions

ITimeStampResponse  Generate (ITimeStampRequest request, IBigInteger bigInteger, DateTime date)
  Calls actual generate method for the wrapped TimeStampResponseGenerator object. More...
 

Detailed Description

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

Member Function Documentation

◆ Generate()

ITimeStampResponse iText.Commons.Bouncycastle.Tsp.ITimeStampResponseGenerator.Generate ( ITimeStampRequest  request,
IBigInteger  bigInteger,
DateTime  date 
)

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.

Implemented in iText.Bouncycastle.Tsp.TimeStampResponseGeneratorBC, and iText.Bouncycastlefips.Tsp.TimeStampResponseGeneratorBCFips.