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