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
ConstructorsConstructorDescriptionASiCWithCAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Default constructorASiCWithCAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.asic.common.ASiCContenttimestamp(eu.europa.esig.dss.asic.common.ASiCContent asicContent, ASiCWithCAdESTimestampParameters parameters) This method is used to add a timestamp to the givenASiCContenteu.europa.esig.dss.model.DSSDocumenttimestamp(List<eu.europa.esig.dss.model.DSSDocument> documents, ASiCWithCAdESTimestampParameters parameters) The method is used to timestamp a list ofdocuments
-
Constructor Details
-
ASiCWithCAdESTimestampService
public ASiCWithCAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Default constructor- Parameters:
tspSource-TSPSource
-
ASiCWithCAdESTimestampService
public ASiCWithCAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory- Parameters:
tspSource-TSPSourceasicFilenameFactory-ASiCWithCAdESFilenameFactory
-
-
Method Details
-
timestamp
public eu.europa.esig.dss.model.DSSDocument timestamp(List<eu.europa.esig.dss.model.DSSDocument> documents, ASiCWithCAdESTimestampParameters parameters) The method is used to timestamp a list ofdocuments- Parameters:
documents- a list ofDSSDocumentsparameters-ASiCWithCAdESTimestampParameters- Returns:
DSSDocumenttimestamped archive
-
timestamp
public eu.europa.esig.dss.asic.common.ASiCContent timestamp(eu.europa.esig.dss.asic.common.ASiCContent asicContent, ASiCWithCAdESTimestampParameters parameters) This method is used to add a timestamp to the givenASiCContent- Parameters:
asicContent-ASiCContentto timestamp signed documents fromparameters-ASiCWithCAdESTimestampParameters- Returns:
ASiCContentcontaining the timestamp and the related XML Manifest for ASiC-E container
-