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 and 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 and 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 |
getBaseNamespace
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
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()
getBaseLocalName
in class ElementProxy
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.