Class SignatureProperty
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.signature.SignatureProperty
Handles
<ds:SignatureProperty>
elements
Addittional information item concerning the generation of the signature(s) can
be placed in this Element- Author:
- Christian Geuer-Pollmann
-
Field Summary
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureProperty
(Document doc, String Target) ConstructsSignatureProperty
using specifiedTarget
attributeSignatureProperty
(Document doc, String Target, String Id) SignatureProperty
(Element element, String BaseURI) Constructs aSignatureProperty
from anElement
-
Method Summary
Modifier and TypeMethodDescriptionappendChild
(Node node) Method appendChildReturns the localname of the Elements of the sub-class.getId()
Returns theId
attributeReturns theTarget
attributevoid
Sets theId
attributevoid
Sets theTarget
attributeMethods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
-
Constructor Details
-
SignatureProperty
ConstructsSignatureProperty
using specifiedTarget
attribute- Parameters:
doc
- theDocument
in whichXMLsignature
is placedTarget
- theTarget
attribute references theSignature
element to which the property applies SignatureProperty
-
SignatureProperty
- Parameters:
doc
- theDocument
in whichXMLsignature
is placedTarget
- theTarget
attribute references theSignature
element to which the property appliesId
- theId
will be specified byReference.getURI()
in validation
-
SignatureProperty
Constructs aSignatureProperty
from anElement
- Parameters:
element
-SignatureProperty
elementBaseURI
- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Details
-
setId
Sets theId
attribute- Parameters:
Id
- theId
attribute
-
getId
Returns theId
attribute- Returns:
- the
Id
attribute
-
setTarget
Sets theTarget
attribute- Parameters:
Target
- theTarget
attribute
-
getTarget
Returns theTarget
attribute- Returns:
- the
Target
attribute
-
appendChild
Method appendChild- Parameters:
node
-- Returns:
- the node in this element.
-
getBaseLocalName
Description copied from class:ElementProxy
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-