Class ASiCWithCAdESTimestampService
java.lang.Object
eu.europa.esig.dss.asic.cades.timestamp.ASiCWithCAdESTimestampService
This class is used to create a timestamp covering signer files
-
Constructor Summary
ConstructorDescriptionASiCWithCAdESTimestampService
(TSPSource tspSource) Default constructorASiCWithCAdESTimestampService
(TSPSource tspSource, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory -
Method Summary
Modifier and TypeMethodDescriptiontimestamp
(ASiCContent asicContent, ASiCWithCAdESTimestampParameters parameters) This method is used to add a timestamp to the givenASiCContent
timestamp
(List<DSSDocument> documents, ASiCWithCAdESTimestampParameters parameters) The method is used to timestamp a list ofdocuments
-
Constructor Details
-
ASiCWithCAdESTimestampService
-
ASiCWithCAdESTimestampService
public ASiCWithCAdESTimestampService(TSPSource tspSource, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory- Parameters:
tspSource
-TSPSource
asicFilenameFactory
-ASiCWithCAdESFilenameFactory
-
-
Method Details
-
timestamp
public DSSDocument timestamp(List<DSSDocument> documents, ASiCWithCAdESTimestampParameters parameters) The method is used to timestamp a list ofdocuments
- Parameters:
documents
- a list ofDSSDocument
sparameters
-ASiCWithCAdESTimestampParameters
- Returns:
DSSDocument
timestamped archive
-
timestamp
This method is used to add a timestamp to the givenASiCContent
- Parameters:
asicContent
-ASiCContent
to timestamp signed documents fromparameters
-ASiCWithCAdESTimestampParameters
- Returns:
ASiCContent
containing the timestamp and the related XML Manifest for ASiC-E container
-