Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


oracle.security.xmlsec.dsig
Class XSSigProperty

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.dsig.XSSigProperty


public class XSSigProperty
extends XMLElement

The XML-DSIG SignatureProperty element.

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.

See Also:
XSSignature.createSigProperty(), XSSigProperties, XSObject

Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
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, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, 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, toStringXML

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

XSSigProperty

public XSSigProperty(org.w3c.dom.Element element)
              throws org.w3c.dom.DOMException
Creates a new XSSigProperty instance from the given Element node.
Parameters:
element - An Element node in the XML document that conforms to the XML-DSIG XSSigProperty schema.
Throws:
org.w3c.dom.DOMException

XSSigProperty

public XSSigProperty(org.w3c.dom.Element element,
                     java.lang.String systemId)
              throws org.w3c.dom.DOMException
Creates a new XSSigProperty instance from the given Element node.
Parameters:
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.
Throws:
org.w3c.dom.DOMException
Since:
2.0
See Also:
XMLNode.setSystemId(java.lang.String)

XSSigProperty

public XSSigProperty(org.w3c.dom.Document owner)
              throws org.w3c.dom.DOMException
Creates a new XSSigProperty instance.
Parameters:
owner - The owner document of the new XSSigProperty
Throws:
org.w3c.dom.DOMException

XSSigProperty

public XSSigProperty(org.w3c.dom.Document owner,
                     java.lang.String id)
              throws org.w3c.dom.DOMException
Creates a new XSSigProperty instance.
Parameters:
owner - The owner document of the new XSSigProperty.
id - An optional string ID name for this XSSigProperty structure.
Throws:
org.w3c.dom.DOMException

XSSigProperty

public XSSigProperty(org.w3c.dom.Document owner,
                     java.lang.String target,
                     java.lang.String id)
              throws org.w3c.dom.DOMException
Creates a new XSSigProperty instance.
Parameters:
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.
Throws:
org.w3c.dom.DOMException

Method Detail

setTarget

public void setTarget(java.lang.String target)
               throws org.w3c.dom.DOMException
Sets the Target attribute of this SignatureProperty.
Parameters:
target - A URI identifying the Signature to which this SignatureProperty applies.
Throws:
org.w3c.dom.DOMException

getTarget

public java.lang.String getTarget()
Returns the value of the Target attribute of this SignatureProperty.
Returns:
A URI identifying the Signature to which this SignatureProperty applies, or null if the attribute is missing.

setId

public void setId(java.lang.String id)
           throws org.w3c.dom.DOMException
Sets the Id attribute of this SignatureProperty.
Parameters:
id - The ID name of this SignatureProperty.
Throws:
org.w3c.dom.DOMException

getId

public java.lang.String getId()
Returns the value of the Id attribute of this SignatureProperty.
Returns:
A string containing the ID name of this SignatureProperty, or null if the attribute is missing.

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


Copyright © 2005, 2013 , Oracle. All rights reserved.