Class PAdESTimestampService
java.lang.Object
eu.europa.esig.dss.pades.timestamp.PAdESTimestampService
The service to timestamp a PDF
-
Constructor Summary
ConstructorDescriptionPAdESTimestampService
(TSPSource tspSource) Constructor withTSPSource
instantiating a defaultPDFSignatureService
for an archive (document) timestamp creationPAdESTimestampService
(TSPSource tspSource, PDFSignatureService pdfSignatureService) The default constructor -
Method Summary
Modifier and TypeMethodDescriptiontimestampDocument
(DSSDocument document, PAdESTimestampParameters params) Timestamp the document
-
Constructor Details
-
PAdESTimestampService
Constructor withTSPSource
instantiating a defaultPDFSignatureService
for an archive (document) timestamp creation- Parameters:
tspSource
-TSPSource
-
PAdESTimestampService
The default constructor- Parameters:
tspSource
-TSPSource
to request the timestamppdfSignatureService
-PDFSignatureService
to use
-
-
Method Details
-
timestampDocument
Timestamp the document- Parameters:
document
-DSSDocument
to timestampparams
-PAdESTimestampParameters
- Returns:
DSSDocument
timestamped
-