Class Algorithm
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.algorithms.Algorithm
- Direct Known Subclasses:
MessageDigestAlgorithm
,SignatureAlgorithm
The Algorithm class which stores the Algorithm URI as a string.
-
Field Summary
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod getAlgorithmURIprotected void
setAlgorithmURI
(String algorithmURI) Sets the algorithm's URI as used in the signature.Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseLocalName, getBaseNamespace, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
-
Constructor Details
-
Algorithm
- Parameters:
doc
-algorithmURI
- is the URI of the algorithm as String
-
Algorithm
Constructor Algorithm- Parameters:
element
-BaseURI
-- Throws:
XMLSecurityException
-
-
Method Details
-
getAlgorithmURI
Method getAlgorithmURI- Returns:
- The URI of the alogrithm
-
setAlgorithmURI
Sets the algorithm's URI as used in the signature.- Parameters:
algorithmURI
- is the URI of the algorithm as String
-