public class XSSigProperties extends XMLElement implements Referable
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.
XSSignature.createSigProperties(), XSSigProperty, XSObject| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, toStringXML
public XSSigProperties(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
XSSigProperties instance from the given Element node.element - An Element node in the XML document that conforms to the XML-DSIG XSSigProperties schema.org.w3c.dom.DOMException
public XSSigProperties(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
XSSigProperties instance from the given Element node.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.org.w3c.dom.DOMExceptionXMLNode.setSystemId(java.lang.String)
public XSSigProperties(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
XSSigProperties instance.owner - The owner document of the new XSSigProperties.org.w3c.dom.DOMException
public XSSigProperties(org.w3c.dom.Document owner,
java.lang.String id)
throws org.w3c.dom.DOMException
XSSigProperties instance.owner - The owner document of the new XSSigProperties.id - An optional string ID name for this XSSigProperties element.org.w3c.dom.DOMExceptionpublic void addSigProperty(XSSigProperty sigProp) throws org.w3c.dom.DOMException
sigProp - A XSSigProperty object.org.w3c.dom.DOMExceptionpublic java.util.Vector getSigProperties()
Vector of XSSigProperty objects.
public void setId(java.lang.String id)
throws org.w3c.dom.DOMException
public java.lang.String getId()
public java.lang.String getType()
getType in interface Referablenull if none is defined.XMLURI.obj_SignatureProperties