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 properties that contain additional information items
concerning the generation of the signature.
for example, data-time stamp, serial number of cryptographic hardware.-
Field Summary
Fields inherited from class ElementProxy
baseURI, LOG -
Constructor Summary
ConstructorsConstructorDescriptionConstructor SignaturePropertiesSignatureProperties(Element element, String baseURI) ConstructsSignaturePropertiesfromElement -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addSignaturePropertyReturns the localname of the Elements of the sub-class.getId()Returns theIdattributeintReturn the nonnegative number of added SignatureProperty elements.item(int i) Return the ith SignatureProperty.voidSets theIdattributeMethods inherited from class SignatureElementProxy
getBaseNamespaceMethods inherited from class ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
Constructor Details
-
SignatureProperties
-
SignatureProperties
ConstructsSignaturePropertiesfromElement- Parameters:
element-SignaturePropertieselementbaseURI- 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 the ith SignatureProperty. Validivalues are 0 to{link@ getSize}-1.- Parameters:
i- Index of the requestedSignatureProperty- Returns:
- the ith SignatureProperty
- Throws:
XMLSignatureException
-
setId
-
getId
-
addSignatureProperty
-
getBaseLocalName
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-