public class CanonicalizationAlgorithmImplCanonicalXML extends CanonicalizationAlgorithm
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_ALGORITHM_URI_
The default algorithm URI for this algorithm implementation.
|
protected boolean |
omitComments_
Contains the information wheter to omit comments or not.
|
inputNodeSet_| Constructor and Description |
|---|
CanonicalizationAlgorithmImplCanonicalXML()
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
canonicalize()
Creates a canonical physical representation of the specified XPath node set input according to the
standard mentioned in the description of this class.
|
org.w3c.dom.Element |
toElement(org.w3c.dom.Document signatureDOMDoc)
Returns the DOM element representation of the algorithm.
|
setInputgetURI, setParameters, setURIprotected static final java.lang.String DEFAULT_ALGORITHM_URI_
protected boolean omitComments_
true for this
class, but can be changed by superclasses.public CanonicalizationAlgorithmImplCanonicalXML()
http://www.w3.org/TR/2001/REC-xml-c14n-20010315.public org.w3c.dom.Element toElement(org.w3c.dom.Document signatureDOMDoc)
throws AlgorithmException
toElement in class AlgorithmsignatureDOMDoc - The DOM document which should be used to create necessary DOM nodes.AlgorithmException - if no identifying URI has been specified for this algorithm.public java.io.InputStream canonicalize()
throws AlgorithmException
canonicalize in class CanonicalizationAlgorithmAlgorithmException - if no input has been set previously, or if computing the canonical
physical representation fails for any reason.