public class XSSigProperty
extends oracle.security.xmlsec.util.XMLElement
A XSSigProperty is used to include additional signed
information about the generation of the signature (e.g., time-stamp or
crypto hardware serial number). SignatureProperty elements are contained
in a SignatureProperties element, which is enclosed in an Object element.
Use the appendChild method to add content to a
XSSigProperty element.
XSSignature.createSigProperty(),
XSSigProperties,
XSObject| Constructor and Description |
|---|
XSSigProperty(org.w3c.dom.Document owner)
Creates a new
XSSigProperty instance. |
XSSigProperty(org.w3c.dom.Document owner,
java.lang.String id)
Creates a new
XSSigProperty instance. |
XSSigProperty(org.w3c.dom.Document owner,
java.lang.String target,
java.lang.String id)
Creates a new
XSSigProperty instance. |
XSSigProperty(org.w3c.dom.Element element)
Creates a new
XSSigProperty instance
from the given Element node. |
XSSigProperty(org.w3c.dom.Element element,
java.lang.String systemId)
Creates a new
XSSigProperty instance
from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Returns the value of the Id attribute of this SignatureProperty.
|
java.lang.String |
getTarget()
Returns the value of the Target attribute of this SignatureProperty.
|
void |
setId(java.lang.String id)
Sets the Id attribute of this SignatureProperty.
|
void |
setTarget(java.lang.String target)
Sets the Target attribute of this SignatureProperty.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXMLpublic XSSigProperty(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
XSSigProperty instance
from the given Element node.element - An Element node in the XML document that conforms to
the XML-DSIG XSSigProperty schema.org.w3c.dom.DOMExceptionpublic XSSigProperty(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
XSSigProperty instance
from the given Element node.element - An Element node in the XML document that conforms to
the XML-DSIG XSSigProperty schema.systemId - The URI string system ID for this element.org.w3c.dom.DOMExceptionXMLNode.setSystemId(java.lang.String)public XSSigProperty(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
XSSigProperty instance.owner - The owner document of the new XSSigPropertyorg.w3c.dom.DOMExceptionpublic XSSigProperty(org.w3c.dom.Document owner,
java.lang.String id)
throws org.w3c.dom.DOMException
XSSigProperty instance.owner - The owner document of the new XSSigProperty.id - An optional string ID name for this XSSigProperty structure.org.w3c.dom.DOMExceptionpublic XSSigProperty(org.w3c.dom.Document owner,
java.lang.String target,
java.lang.String id)
throws org.w3c.dom.DOMException
XSSigProperty instance.owner - The owner document of the new XSSigProperty.target - A URI identifying the Signature to which this
SignatureProperty applies.id - An optional string ID name for this XSSigProperty structure.org.w3c.dom.DOMExceptionpublic void setTarget(java.lang.String target)
throws org.w3c.dom.DOMException
target - A URI identifying the Signature to which this
SignatureProperty applies.org.w3c.dom.DOMExceptionpublic java.lang.String getTarget()
null if the attribute is missing.public void setId(java.lang.String id)
throws org.w3c.dom.DOMException
id - The ID name of this SignatureProperty.org.w3c.dom.DOMExceptionpublic java.lang.String getId()
null if the attribute is missing.