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
ConstructorsConstructorDescriptionEmpty 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 givenDSSReferencevoidincorporateReferences(Element referenceContainer, List<DSSReference> references, DSSNamespace namespace) This method incorporates a list of references within the providedreferenceContainerelement
-
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-DSSReferenceto process- Returns:
DSSDocumentreference output content
-
incorporateReferences
public void incorporateReferences(Element referenceContainer, List<DSSReference> references, DSSNamespace namespace) This method incorporates a list of references within the providedreferenceContainerelement- Parameters:
referenceContainer- theElementto incorporate a list of ds:Reference(s) withinreferences- the list ofDSSReferences to be incorporatesnamespace- theDSSNamespaceto be used
-