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.
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithmURI()
Method getAlgorithmURIprotected void
setAlgorithmURI(java.lang.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
-
-
-
-
Constructor Detail
-
Algorithm
public Algorithm(org.w3c.dom.Document doc, java.lang.String algorithmURI)
- Parameters:
doc
-algorithmURI
- is the URI of the algorithm as String
-
Algorithm
public Algorithm(org.w3c.dom.Element element, java.lang.String baseURI) throws XMLSecurityException
Constructor Algorithm- Parameters:
element
-baseURI
-- Throws:
XMLSecurityException
-
-
Method Detail
-
getAlgorithmURI
public java.lang.String getAlgorithmURI()
Method getAlgorithmURI- Returns:
- The URI of the algorithm
-
setAlgorithmURI
protected void setAlgorithmURI(java.lang.String algorithmURI)
Sets the algorithm's URI as used in the signature.- Parameters:
algorithmURI
- is the URI of the algorithm as String
-
-