Class ReferenceProcessor

java.lang.Object
eu.europa.esig.dss.xades.reference.ReferenceProcessor

public class ReferenceProcessor extends Object
Contains methods for processing eu.europa.esig.dss.xades.reference.DSSReference
  • Constructor Details

    • ReferenceProcessor

      public ReferenceProcessor()
      Empty constructor (to be used for non-signature references, e.g. for a Manifest)
    • ReferenceProcessor

      public ReferenceProcessor(XAdESSignatureParameters signatureParameters)
      The constructor to be used for reference processing on signature creation
      Parameters:
      signatureParameters - XAdESSignatureParameters
  • Method Details

    • getReferenceOutput

      public DSSDocument getReferenceOutput(DSSReference reference)
      Returns an output content after processing the given DSSReference
      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 provided referenceContainer element
      Parameters:
      referenceContainer - the Element to incorporate a list of ds:Reference(s) within
      references - the list of DSSReferences to be incorporates
      namespace - the DSSNamespace to be used