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 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 voidsetAlgorithmURI(String algorithmURI) Sets the algorithm's URI as used in the signature.Methods inherited from class 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
-
Algorithm
Constructor Algorithm- Parameters:
element-BaseURI-- Throws:
XMLSecurityException
-
-
Method Details
-
getAlgorithmURI
-
setAlgorithmURI
Sets the algorithm's URI as used in the signature.- Parameters:
algorithmURI- is the URI of the algorithm as String
-