Class ReferenceBuilder
java.lang.Object
eu.europa.esig.dss.xades.reference.ReferenceBuilder
Creates, validates references and processes defined transformations
-
Constructor Summary
ConstructorDescriptionReferenceBuilder
(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm, ReferenceIdProvider referenceIdProvider) The default constructor for a detached references creationReferenceBuilder
(List<DSSDocument> documents, XAdESSignatureParameters xadesSignatureParameters, ReferenceIdProvider referenceIdProvider) The default constructor for a signature references creation -
Method Summary
-
Constructor Details
-
ReferenceBuilder
public ReferenceBuilder(List<DSSDocument> documents, XAdESSignatureParameters xadesSignatureParameters, ReferenceIdProvider referenceIdProvider) The default constructor for a signature references creation- Parameters:
documents
- a list ofDSSDocument
s to create references forxadesSignatureParameters
-XAdESSignatureParameters
referenceIdProvider
-ReferenceIdProvider
-
ReferenceBuilder
public ReferenceBuilder(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm, ReferenceIdProvider referenceIdProvider) The default constructor for a detached references creation- Parameters:
documents
- a list of detachedDSSDocument
sdigestAlgorithm
-DigestAlgorithm
referenceIdProvider
-ReferenceIdProvider
-
-
Method Details
-
build
Builds a list of references based on the configuration- Returns:
- a list of
DSSReference
s
-