org.apache.xml.security.algorithms
Class Algorithm
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
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.
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 |
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
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–2013 The Apache Software Foundation. All rights reserved.