Class SignatureProperties
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.signature.SignatureProperties
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, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor SignaturePropertiesSignatureProperties
(Element element, String BaseURI) ConstructsSignatureProperties
fromElement
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method addSignaturePropertyReturns the localname of the Elements of the sub-class.getId()
Returns theId
attributeint
Return the nonnegative number of added SignatureProperty elements.item
(int i) Return thei th SignatureProperty.void
Sets theId
attributeMethods 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, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
-
Constructor Details
-
SignatureProperties
Constructor SignatureProperties- Parameters:
doc
-
-
SignatureProperties
ConstructsSignatureProperties
fromElement
- Parameters:
element
-SignatureProperties
elementtBaseURI
- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Details
-
getLength
public int getLength()Return the nonnegative number of added SignatureProperty elements.- Returns:
- the number of SignatureProperty elements
-
item
Return thei th SignatureProperty. Validi
values are 0 to{link@ getSize}-1
.- Parameters:
i
- Index of the requestedSignatureProperty
- Returns:
- the
i th SignatureProperty - Throws:
XMLSignatureException
-
setId
Sets theId
attribute- Parameters:
Id
- theId
attribute
-
getId
Returns theId
attribute- Returns:
- the
Id
attribute
-
addSignatureProperty
Method addSignatureProperty- Parameters:
sp
-
-
getBaseLocalName
Description copied from class:ElementProxy
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-