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 holdsSignatureProperty
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 org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description SignatureProperties(org.w3c.dom.Document doc)
Constructor SignaturePropertiesSignatureProperties(org.w3c.dom.Element element, java.lang.String baseURI)
ConstructsSignatureProperties
fromElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSignatureProperty(SignatureProperty sp)
Method addSignaturePropertyjava.lang.String
getBaseLocalName()
Returns the localname of the Elements of the sub-class.java.lang.String
getId()
Returns theId
attributeint
getLength()
Return the nonnegative number of added SignatureProperty elements.SignatureProperty
item(int i)
Return the ith SignatureProperty.void
setId(java.lang.String Id)
Sets theId
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, 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 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
ConstructsSignatureProperties
fromElement
- Parameters:
element
-SignatureProperties
elementbaseURI
- 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. Validi
values are 0 to{link@ getSize}-1
.- Parameters:
i
- Index of the requestedSignatureProperty
- Returns:
- the ith SignatureProperty
- Throws:
XMLSignatureException
-
setId
public void setId(java.lang.String Id)
Sets theId
attribute- Parameters:
Id
- theId
attribute
-
getId
public java.lang.String getId()
Returns theId
attribute- Returns:
- the
Id
attribute
-
addSignatureProperty
public void addSignatureProperty(SignatureProperty sp)
Method addSignatureProperty- Parameters:
sp
-
-
getBaseLocalName
public java.lang.String getBaseLocalName()
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.
-
-