Class PAdESTimestampService
java.lang.Object
eu.europa.esig.dss.pades.timestamp.PAdESTimestampService
public class PAdESTimestampService extends Object
The service to timestamp a PDF
-
Constructor Summary
Constructors Constructor Description PAdESTimestampService(TSPSource tspSource, PDFSignatureService pdfSignatureService)
The default constructor -
Method Summary
Modifier and Type Method Description DSSDocument
timestampDocument(DSSDocument document, PAdESTimestampParameters params)
Timestamp the document
-
Constructor Details
-
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
-