Class ReferenceProcessor
java.lang.Object
eu.europa.esig.dss.xades.reference.ReferenceProcessor
Contains methods for processing
eu.europa.esig.dss.xades.reference.DSSReference
-
Constructor Summary
ConstructorDescriptionEmpty constructor (to be used for non-signature references, e.g. for a Manifest)ReferenceProcessor
(XAdESSignatureParameters signatureParameters) The constructor to be used for reference processing on signature creation -
Method Summary
Modifier and TypeMethodDescriptiongetReferenceOutput
(DSSReference reference) Returns an output content after processing the givenDSSReference
void
incorporateReferences
(Element referenceContainer, List<DSSReference> references, DSSNamespace namespace) This method incorporates a list of references within the providedreferenceContainer
element
-
Constructor Details
-
ReferenceProcessor
public ReferenceProcessor()Empty constructor (to be used for non-signature references, e.g. for a Manifest) -
ReferenceProcessor
The constructor to be used for reference processing on signature creation- Parameters:
signatureParameters
-XAdESSignatureParameters
-
-
Method Details
-
getReferenceOutput
Returns an output content after processing the givenDSSReference
- Parameters:
reference
-DSSReference
to process- Returns:
DSSDocument
reference output content
-
incorporateReferences
public void incorporateReferences(Element referenceContainer, List<DSSReference> references, DSSNamespace namespace) This method incorporates a list of references within the providedreferenceContainer
element- Parameters:
referenceContainer
- theElement
to incorporate a list of ds:Reference(s) withinreferences
- the list ofDSSReference
s to be incorporatesnamespace
- theDSSNamespace
to be used
-