Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xml.security.signature
Class SignatureProperties

    java.lang.Object
      org.apache.xml.security.utils.ElementProxy
          org.apache.xml.security.utils.SignatureElementProxy
              org.apache.xml.security.signature.SignatureProperties

    public class SignatureProperties

extends SignatureElementProxy

Handles `<ds:SignatureProperties>` elements This Element holds `SignatureProperty` that contian additional information items concerning the generation of the signature. for example, data-time stamp, serial number of cryptographic hardware.

Author:
  Christian Geuer-Pollmann

Field Summary

Fields inherited from class org.apache.xml.security.utils.ElementProxy
`baseURI, constructionElement, doc, log`

Constructor Summary
`SignatureProperties(org.w3c.dom.Document doc)` Constructor SignatureProperties
`SignatureProperties(org.w3c.dom.Element element, java.lang.String BaseURI)` Constructs `SignatureProperties` from `Element`

Method Summary
`void` | `addSignatureProperty(SignatureProperty sp)` Method addSignatureProperty
`java.lang.String` | `getBaseLocalName()` Returns the localname of the Elements of the sub-class.
`java.lang.String` | `getId()` Returns the `Id` attribute
`int` | `getLength()` Return the nonnegative number of added SignatureProperty elements.
`SignatureProperty` | `item(int i)` Return the ith SignatureProperty.
`void` | `setId(java.lang.String Id)` Sets the `Id` attribute

Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
`getBaseNamespace`

Methods inherited from class org.apache.xml.security.utils.ElementProxy
`addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext`

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

Constructor Detail

### SignatureProperties

    public SignatureProperties(org.w3c.dom.Document doc)

  Constructor SignatureProperties

  Parameters:
    `doc` -

### SignatureProperties

    public SignatureProperties(org.w3c.dom.Element element,
                               java.lang.String BaseURI)
                        throws XMLSecurityException

  Constructs `SignatureProperties` from `Element`

  Parameters:
    `element` - `SignatureProperties` element
    `BaseURI` - the URI of the resource where the XML instance was stored
  Throws:
    `XMLSecurityException`

Method Detail

### getLength

    public int getLength()

  Return the nonnegative number of added SignatureProperty elements.

  Returns:
    the number of SignatureProperty elements

### item

    public SignatureProperty item(int i)
                           throws XMLSignatureException

  Return the ith SignatureProperty. Valid `i` values are 0 to `{link@ getSize}-1`.

  Parameters:
    `i` - Index of the requested `SignatureProperty`
  Returns:
    the ith SignatureProperty
  Throws:
    `XMLSignatureException`

### setId

    public void setId(java.lang.String Id)

  Sets the `Id` attribute

  Parameters:
    `Id` - the `Id` attribute

### getId

    public java.lang.String getId()

  Returns the `Id` attribute

  Returns:
    the `Id` attribute

### addSignatureProperty

    public void addSignatureProperty(SignatureProperty sp)

  Method addSignatureProperty

  Parameters:
    `sp` -

### getBaseLocalName

    public java.lang.String getBaseLocalName()

  Description copied from class: `ElementProxy`
  Returns the localname of the Elements of the sub-class.

  Specified by:
    `getBaseLocalName` in class `ElementProxy`
  Returns:
    the localname of the Elements of the sub-class.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD