Skip navigation links

Oracle Security Developer Tools XML Security Java API Reference
11g (11.1.1)

E10680-02


oracle.security.xmlsec.dsig
Class XSSigProperties

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

All Implemented Interfaces:
Referable

public class XSSigProperties
extends XMLElement
implements Referable

The XML-DSIG SignatureProperties element.

A SignatureProperties is a container for SignatureProperty elements, which are used to include additional signed information regarding the signature generation. Typically, one or more SignatureProperty elements are added to a SignatureProperties element, which is then enclosed in an Object element to be signed via a SignedInfo Reference.

See Also:
XSSignature.createSigProperties(), XSSigProperty, XSObject

Field Summary

 

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

 

Constructor Summary
XSSigProperties(org.w3c.dom.Document owner)
          Creates a new XSSigProperties instance.
XSSigProperties(org.w3c.dom.Document owner, java.lang.String id)
          Creates a new XSSigProperties instance.
XSSigProperties(org.w3c.dom.Element element)
          Creates a new XSSigProperties instance from the given Element node.
XSSigProperties(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new XSSigProperties instance from the given Element node.

 

Method Summary
 void addSigProperty(XSSigProperty sigProp)
          Adds a SignatureProperty element to this SignatureProperties.
 java.lang.String getId()
          Returns the value of the Id attribute of this SignatureProperties.
 java.util.Vector getSigProperties()
          Returns a list of the SignatureProperty elements.
 java.lang.String getType()
          Returns the URI defined in the XML-DSIG space to identify the SignatureProperties element ("http://www.w3.org/2000/09/xmldsig#SignatureProperties").
 void setId(java.lang.String id)
          Sets the Id attribute of this SignatureProperties.

 

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

XSSigProperties

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

XSSigProperties

public XSSigProperties(org.w3c.dom.Element element,
                       java.lang.String systemId)
                throws org.w3c.dom.DOMException
Creates a new XSSigProperties instance from the given Element node.
Parameters:
element - An Element node in the XML document that conforms to the XML-DSIG XSSigProperties 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)

XSSigProperties

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

XSSigProperties

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

Method Detail

addSigProperty

public void addSigProperty(XSSigProperty sigProp)
                    throws org.w3c.dom.DOMException
Adds a SignatureProperty element to this SignatureProperties.
Parameters:
sigProp - A XSSigProperty object.
Throws:
org.w3c.dom.DOMException

getSigProperties

public java.util.Vector getSigProperties()
Returns a list of the SignatureProperty elements.
Returns:
A Vector of XSSigProperty objects.

setId

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

getId

public java.lang.String getId()
Returns the value of the Id attribute of this SignatureProperties.
Specified by:
getId in interface Referable
Returns:
A string containing the ID name of this SignatureProperties, or null if the attribute is missing.

getType

public java.lang.String getType()
Returns the URI defined in the XML-DSIG space to identify the SignatureProperties element ("http://www.w3.org/2000/09/xmldsig#SignatureProperties").
Specified by:
getType in interface Referable
Returns:
A URI identifying the type of this object, or null if none is defined.
See Also:
XMLURI.obj_SignatureProperties

Skip navigation links

Oracle Security Developer Tools XML Security Java API Reference
11g (11.1.1)

E10680-02


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