org.apache.xml.security.algorithms
Class Algorithm

java.lang.Object
  extended by org.apache.xml.security.utils.ElementProxy
      extended by org.apache.xml.security.utils.SignatureElementProxy
          extended by org.apache.xml.security.algorithms.Algorithm
Direct Known Subclasses:
MessageDigestAlgorithm, SignatureAlgorithm

public abstract class Algorithm
extends SignatureElementProxy

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


Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, log
 
Constructor Summary
Algorithm(Document doc, String algorithmURI)
           
Algorithm(Element element, String BaseURI)
          Constructor Algorithm
 
Method Summary
 String getAlgorithmURI()
          Method getAlgorithmURI
protected  void setAlgorithmURI(String algorithmURI)
          Sets the algorithm's URI as used in the signature.
 
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, getBaseLocalName, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Algorithm

public Algorithm(Document doc,
                 String algorithmURI)
Parameters:
doc -
algorithmURI - is the URI of the algorithm as String

Algorithm

public Algorithm(Element element,
                 String BaseURI)
          throws XMLSecurityException
Constructor Algorithm

Parameters:
element -
BaseURI -
Throws:
XMLSecurityException
Method Detail

getAlgorithmURI

public String getAlgorithmURI()
Method getAlgorithmURI

Returns:
The URI of the algorithm

setAlgorithmURI

protected void setAlgorithmURI(String algorithmURI)
Sets the algorithm's URI as used in the signature.

Parameters:
algorithmURI - is the URI of the algorithm as String


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.