public class SignatureProperties extends SignatureElementProxy
<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.baseURI, log
Constructor and Description |
---|
SignatureProperties(Document doc)
Constructor SignatureProperties
|
SignatureProperties(Element element,
String BaseURI)
Constructs
SignatureProperties from Element |
Modifier and Type | Method and Description |
---|---|
void |
addSignatureProperty(SignatureProperty sp)
Method addSignatureProperty
|
String |
getBaseLocalName()
Returns the localname of the Elements of the sub-class.
|
String |
getId()
Returns the
Id attribute |
int |
getLength()
Return the nonnegative number of added SignatureProperty elements.
|
SignatureProperty |
item(int i)
Return the
|
void |
setId(String Id)
Sets the
Id attribute |
getBaseNamespace
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
public SignatureProperties(Document doc)
doc
- public SignatureProperties(Element element, String BaseURI) throws XMLSecurityException
SignatureProperties
from Element
element
- SignatureProperties
elementBaseURI
- the URI of the resource where the XML instance was storedXMLSecurityException
public int getLength()
public SignatureProperty item(int i) throws XMLSignatureException
i
values are 0 to {link@ getSize}-1
.i
- Index of the requested SignatureProperty
XMLSignatureException
public void setId(String Id)
Id
attributeId
- the Id
attributepublic String getId()
Id
attributeId
attributepublic void addSignatureProperty(SignatureProperty sp)
sp
- public String getBaseLocalName()
ElementProxy
getBaseLocalName
in class ElementProxy
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.