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

public abstract Class Algorithm

extends SignatureElementProxy
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm, com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithm
Imports
com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException, com.sun.org.apache.xml.internal.security.utils.Constants, .SignatureElementProxy, org.w3c.dom.Document, .Element

The Algorithm class which stores the Algorithm URI as a string.

Constructor Summary

AccessConstructor and Description
public
Algorithm(Document doc, String
is the URI of the algorithm as String
algorithmURI
)

public
Algorithm(Element element, String baseURI)

Constructor Algorithm

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The URI of the algorithm
getAlgorithmURI
()

Method getAlgorithmURI

protected void
setAlgorithmURI(String
is the URI of the algorithm as String
algorithmURI
)

Sets the algorithm's URI as used in the signature.

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

Constructor Detail

Algorithmback to summary
public Algorithm(Document doc, String algorithmURI)
Parameters
algorithmURI:String

is the URI of the algorithm as String

Algorithmback to summary
public Algorithm(Element element, String baseURI) throws XMLSecurityException

Constructor Algorithm

Method Detail

getAlgorithmURIback to summary
public String getAlgorithmURI()

Method getAlgorithmURI

Returns:String

The URI of the algorithm

setAlgorithmURIback to summary
protected void setAlgorithmURI(String algorithmURI)

Sets the algorithm's URI as used in the signature.

Parameters
algorithmURI:String

is the URI of the algorithm as String