Class SignatureProperty


public class SignatureProperty extends SignatureElementProxy
Handles <ds:SignatureProperty> elements Additional information item concerning the generation of the signature(s) can be placed in this Element
  • 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()
      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.