Class PropertiesDataGenerationContext

java.lang.Object
xades4j.production.PropertiesDataGenerationContext

public final class PropertiesDataGenerationContext extends Object
Context used during the generation of the properties low-level data (property data objects). Contains informations about the algorithms in use and the resources being signed.
Author:
Luís
See Also:
  • PropertiesDataObjectsGenerator
  • Method Details

    • getReferences

      public List<org.apache.xml.security.signature.Reference> getReferences()
      Gets all the References present in the signature that is being created, except the signed properties reference, in order of appearence within SignedInfo.
      Returns:
      the unmodifiable list of References
    • getReference

      public org.apache.xml.security.signature.Reference getReference(DataObjectDesc dataObject)
      Gets the Reference that corresponds to a given high-level DataObjectDesc.
      Parameters:
      dataObject - the signed data object
      Returns:
      the reference
    • createElementInSignatureDoc

      public Element createElementInSignatureDoc(String name, String prefix, String namespace)
      Creates a DOM Element in the signature's document. This can be useful when generating GenericDOMData data objects.
      Parameters:
      name - the local name of the element
      namespace - the namespace where the element will be created
      Returns:
      the created element