Class SignatureProperty


public class SignatureProperty extends SignatureElementProxy
Handles <ds:SignatureProperty> elements Addittional information item concerning the generation of the signature(s) can be placed in this Element
Author:
Christian Geuer-Pollmann
  • Constructor Details

    • SignatureProperty

      public SignatureProperty(Document doc, String Target)
      ConstructsSignatureProperty using specified Target attribute
      Parameters:
      doc - the Document in which XMLsignature is placed
      Target - the Target attribute references the Signature element to which the property applies SignatureProperty
    • SignatureProperty

      public SignatureProperty(Document doc, String Target, String Id)
      Constructs SignatureProperty using sepcified Target attribute and Id attribute
      Parameters:
      doc - the Document in which XMLsignature is placed
      Target - the Target attribute references the Signature element to which the property applies
      Id - the Id will be specified by Reference.getURI() in validation
    • SignatureProperty

      public SignatureProperty(Element element, String BaseURI) throws XMLSecurityException
      Constructs a SignatureProperty from an Element
      Parameters:
      element - SignatureProperty element
      BaseURI - the URI of the resource where the XML instance was stored
      Throws:
      XMLSecurityException
  • Method Details

    • setId

      public void setId(String Id)
      Sets the Id attribute
      Parameters:
      Id - the Id attribute
    • getId

      public String getId()
      Returns the Id attribute
      Returns:
      the Id attribute
    • setTarget

      public void setTarget(String Target)
      Sets the Target attribute
      Parameters:
      Target - the Target attribute
    • getTarget

      public String getTarget()
      Returns the Target attribute
      Returns:
      the Target attribute
    • appendChild

      public Node appendChild(Node node)
      Method appendChild
      Parameters:
      node -
      Returns:
      the node in this element.
    • getBaseLocalName

      public String getBaseLocalName()
      Description copied from class: ElementProxy
      Returns the localname of the Elements of the sub-class.
      Specified by:
      getBaseLocalName in class ElementProxy
      Returns:
      the localname of the Elements of the sub-class.