Class AllDataObjectsTimeStampBuilder
java.lang.Object
eu.europa.esig.dss.xades.signature.AllDataObjectsTimeStampBuilder
This class allows to create a XAdES content-timestamp which covers all documents (AllDataObjectsTimeStamp).
-
Constructor Summary
ConstructorDescriptionAllDataObjectsTimeStampBuilder
(TSPSource tspSource, XAdESSignatureParameters signatureParameters) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbuild
(DSSDocument document) Builds a message-imprint from the given document and generates a timestampbuild
(List<DSSDocument> documents) Timestamps the list of documents
-
Constructor Details
-
AllDataObjectsTimeStampBuilder
public AllDataObjectsTimeStampBuilder(TSPSource tspSource, XAdESSignatureParameters signatureParameters) Default constructor- Parameters:
tspSource
-TSPSource
signatureParameters
-XAdESSignatureParameters
-
-
Method Details
-
build
Builds a message-imprint from the given document and generates a timestamp- Parameters:
document
-DSSDocument
to timestamp- Returns:
TimestampToken
-
build
Timestamps the list of documents- Parameters:
documents
- a list ofDSSDocument
s to timestamp- Returns:
TimestampToken
-