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 Detail

      • SignatureProperty

        public SignatureProperty​(org.w3c.dom.Document doc,
                                 java.lang.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​(org.w3c.dom.Document doc,
                                 java.lang.String Target,
                                 java.lang.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​(org.w3c.dom.Element element,
                                 java.lang.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 Detail

      • setId

        public void setId​(java.lang.String Id)
        Sets the Id attribute
        Parameters:
        Id - the Id attribute
      • getId

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

        public void setTarget​(java.lang.String Target)
        Sets the Target attribute
        Parameters:
        Target - the Target attribute
      • getTarget

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

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

        public java.lang.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.