public class SignatureProperty extends SignatureElementProxy
<ds:SignatureProperty>
elements
Additional information item concerning the generation of the signature(s) can
be placed in this ElementbaseURI, log
Constructor | Description |
---|---|
SignatureProperty(Document doc,
String target) |
Constructs
SignatureProperty using specified target attribute |
SignatureProperty(Document doc,
String target,
String id) |
|
SignatureProperty(Element element,
String baseURI) |
Constructs a
SignatureProperty from an Element |
Modifier and Type | Method | Description |
---|---|---|
Node |
appendChild(Node node) |
Method appendChild
|
String |
getBaseLocalName() |
Returns the localname of the Elements of the sub-class.
|
String |
getId() |
Returns the
id attribute |
String |
getTarget() |
Returns the
target attribute |
void |
setId(String id) |
Sets the
id attribute |
void |
setTarget(String target) |
Sets the
target attribute |
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseNamespace
public SignatureProperty(Document doc, String target)
SignatureProperty
using specified target
attributedoc
- the Document
in which XMLsignature
is placedtarget
- the target
attribute references the Signature
element to which the property applies SignaturePropertypublic SignatureProperty(Document doc, String target, String id)
doc
- the Document
in which XMLsignature
is placedtarget
- the target
attribute references the Signature
element to which the property appliesid
- the id
will be specified by Reference.getURI()
in validationpublic SignatureProperty(Element element, String baseURI) throws XMLSecurityException
SignatureProperty
from an Element
element
- SignatureProperty
elementbaseURI
- the URI of the resource where the XML instance was storedXMLSecurityException
public void setId(String id)
id
attributeid
- the id
attributepublic String getId()
id
attributeid
attributepublic void setTarget(String target)
target
attributetarget
- the target
attributepublic String getTarget()
target
attributetarget
attributepublic Node appendChild(Node node)
node
- public String getBaseLocalName()
ElementProxy
getBaseLocalName
in class ElementProxy
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.