Class SignatureProperty
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.SignatureElementProxy
-
- org.apache.xml.security.signature.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
-
-
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
Constructors Constructor Description SignatureProperty(org.w3c.dom.Document doc, java.lang.String Target)ConstructsSignaturePropertyusing specifiedTargetattributeSignatureProperty(org.w3c.dom.Document doc, java.lang.String Target, java.lang.String Id)SignatureProperty(org.w3c.dom.Element element, java.lang.String BaseURI)Constructs aSignaturePropertyfrom anElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.NodeappendChild(org.w3c.dom.Node node)Method appendChildjava.lang.StringgetBaseLocalName()Returns the localname of the Elements of the sub-class.java.lang.StringgetId()Returns theIdattributejava.lang.StringgetTarget()Returns theTargetattributevoidsetId(java.lang.String Id)Sets theIdattributevoidsetTarget(java.lang.String Target)Sets theTargetattribute-
Methods 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 Detail
-
SignatureProperty
public SignatureProperty(org.w3c.dom.Document doc, java.lang.String Target)ConstructsSignaturePropertyusing specifiedTargetattribute- Parameters:
doc- theDocumentin whichXMLsignatureis placedTarget- theTargetattribute references theSignatureelement to which the property applies SignatureProperty
-
SignatureProperty
public SignatureProperty(org.w3c.dom.Document doc, java.lang.String Target, java.lang.String Id)- Parameters:
doc- theDocumentin whichXMLsignatureis placedTarget- theTargetattribute references theSignatureelement to which the property appliesId- theIdwill be specified byReference.getURI()in validation
-
SignatureProperty
public SignatureProperty(org.w3c.dom.Element element, java.lang.String BaseURI) throws XMLSecurityExceptionConstructs aSignaturePropertyfrom anElement- Parameters:
element-SignaturePropertyelementBaseURI- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Detail
-
setId
public void setId(java.lang.String Id)
Sets theIdattribute- Parameters:
Id- theIdattribute
-
getId
public java.lang.String getId()
Returns theIdattribute- Returns:
- the
Idattribute
-
setTarget
public void setTarget(java.lang.String Target)
Sets theTargetattribute- Parameters:
Target- theTargetattribute
-
getTarget
public java.lang.String getTarget()
Returns theTargetattribute- Returns:
- the
Targetattribute
-
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:ElementProxyReturns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
-