APIdia Launch Partner
Top Description Constructors Methods
com.sun.org.apache.xml.internal.security.signature

public Class SignatureProperties

extends SignatureElementProxy
Class Inheritance
Imports
com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException, com.sun.org.apache.xml.internal.security.utils.Constants, .SignatureElementProxy, .XMLUtils, org.w3c.dom.Attr, .Document, .Element

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.

Constructor Summary

AccessConstructor and Description
public
SignatureProperties(Document doc)

Constructor SignatureProperties

public
SignatureProperties(Element
SignatureProperties element
element
,
String
the URI of the resource where the XML instance was stored
baseURI
)

Constructs SignatureProperties from Element

Method Summary

Modifier and TypeMethod and Description
public void
addSignatureProperty(SignatureProperty sp)

Method addSignatureProperty

public String
getBaseLocalName()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Returns the localname of the Elements of the sub-class.

public String

Returns:

the Id attribute
getId
()

Returns the Id attribute

public int

Returns:

the number of SignatureProperty elements
getLength
()

Return the nonnegative number of added SignatureProperty elements.

public SignatureProperty

Returns:

the ith SignatureProperty
item
(int
Index of the requested SignatureProperty
i
)

Return the ith SignatureProperty.

public void
setId(String
the Id attribute
Id
)

Sets the Id attribute

Inherited from com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy:
getBaseNamespace

Constructor Detail

SignaturePropertiesback to summary
public SignatureProperties(Document doc)

Constructor SignatureProperties

SignaturePropertiesback to summary
public SignatureProperties(Element element, String baseURI) throws XMLSecurityException

Constructs SignatureProperties from Element

Parameters
element:Element

SignatureProperties element

baseURI:String

the URI of the resource where the XML instance was stored

Method Detail

addSignaturePropertyback to summary
public void addSignatureProperty(SignatureProperty sp)

Method addSignatureProperty

getBaseLocalNameback to summary
public String getBaseLocalName()

Implements abstract com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Doc from com.sun.org.apache.xml.internal.security.utils.ElementProxy.getBaseLocalName.

Returns the localname of the Elements of the sub-class.

Annotations
@Override
getIdback to summary
public String getId()

Returns the Id attribute

Returns:String

the Id attribute

getLengthback to summary
public int getLength()

Return the nonnegative number of added SignatureProperty elements.

Returns:int

the number of SignatureProperty elements

itemback to summary
public SignatureProperty item(int i) throws XMLSignatureException

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

Parameters
i:int

Index of the requested SignatureProperty

Returns:SignatureProperty

the ith SignatureProperty

setIdback to summary
public void setId(String Id)

Sets the Id attribute

Parameters
Id:String

the Id attribute