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 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()
        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.