java.lang.Object
eu.europa.esig.dss.pades.timestamp.PAdESTimestampService
The service to timestamp a PDF
-
Constructor Summary
ConstructorsConstructorDescriptionPAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Constructor withTSPSourceinstantiating a defaultPDFSignatureServicefor an archive (document) timestamp creationPAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource, PDFSignatureService pdfSignatureService) The default constructor -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DSSDocumenttimestampDocument(eu.europa.esig.dss.model.DSSDocument document, PAdESTimestampParameters params) Timestamp the document
-
Constructor Details
-
PAdESTimestampService
public PAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Constructor withTSPSourceinstantiating a defaultPDFSignatureServicefor an archive (document) timestamp creation- Parameters:
tspSource-TSPSource
-
PAdESTimestampService
public PAdESTimestampService(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource, PDFSignatureService pdfSignatureService) The default constructor- Parameters:
tspSource-TSPSourceto request the timestamppdfSignatureService-PDFSignatureServiceto use
-
-
Method Details
-
timestampDocument
public eu.europa.esig.dss.model.DSSDocument timestampDocument(eu.europa.esig.dss.model.DSSDocument document, PAdESTimestampParameters params) Timestamp the document- Parameters:
document-DSSDocumentto timestampparams-PAdESTimestampParameters- Returns:
DSSDocumenttimestamped
-