public abstract class Canonicalizer20010315Excl extends CanonicalizerBase
COMPARE, NODE_AFTER_DOCUMENT_ELEMENT, NODE_BEFORE_DOCUMENT_ELEMENT, NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT, XML, XML_LANG_URI, XMLNS, XMLNS_URI
Constructor and Description |
---|
Canonicalizer20010315Excl(boolean includeComments)
Constructor Canonicalizer20010315Excl
|
Modifier and Type | Method and Description |
---|---|
protected void |
circumventBugIfNeeded(XMLSignatureInput input) |
void |
engineCanonicalize(XMLSignatureInput rootNode,
String inclusiveNamespaces,
OutputStream writer,
boolean secureValidation) |
void |
engineCanonicalizeSubTree(Node rootNode,
OutputStream writer)
Method engineCanonicalizeSubTree
Method engineCanonicalizeSubTree
C14n a node tree.
|
void |
engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
boolean propagateDefaultNamespace,
OutputStream writer)
Method engineCanonicalizeSubTree
C14n a node tree.
|
void |
engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
Node excl,
OutputStream writer)
Method engineCanonicalizeSubTree
|
void |
engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
OutputStream writer)
Method engineCanonicalizeSubTree
C14n a node tree.
|
void |
engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces,
OutputStream writer)
Method engineCanonicalizeXPathNodeSet
C14n a nodeset
|
protected void |
outputAttributes(Element element,
NameSpaceSymbTable ns,
Map<String,byte[]> cache,
OutputStream writer)
Output the attributes for this node in XPathNodeSet c14n.
|
protected void |
outputAttributesSubtree(Element element,
NameSpaceSymbTable ns,
Map<String,byte[]> cache,
OutputStream writer)
Output the attributes for this node in a Subtree c14n.
|
engineCanonicalize, engineCanonicalizeSubTree, engineCanonicalizeXPathNodeSet, getNullNode, handleParent, isVisible, isVisibleDO, isVisibleInt, outputAttrToWriter, outputCommentToWriter, outputPItoWriter
engineCanonicalize, engineGetURI
public Canonicalizer20010315Excl(boolean includeComments)
includeComments
- public void engineCanonicalizeSubTree(Node rootNode, OutputStream writer) throws CanonicalizationException
engineCanonicalizeSubTree
in class CanonicalizerBase
rootNode
- writer
- OutputStream to write the canonicalization resultCanonicalizationException
public void engineCanonicalizeSubTree(Node rootNode, String inclusiveNamespaces, OutputStream writer) throws CanonicalizationException
engineCanonicalizeSubTree
in class CanonicalizerSpi
rootNode
- inclusiveNamespaces
- writer
- OutputStream to write the canonicalization resultCanonicalizationException
public void engineCanonicalizeSubTree(Node rootNode, String inclusiveNamespaces, boolean propagateDefaultNamespace, OutputStream writer) throws CanonicalizationException
engineCanonicalizeSubTree
in class CanonicalizerSpi
rootNode
- inclusiveNamespaces
- propagateDefaultNamespace
- If true the default namespace will be propagated to the c14n-ized root elementwriter
- OutputStream to write the canonicalization resultCanonicalizationException
public void engineCanonicalizeSubTree(Node rootNode, String inclusiveNamespaces, Node excl, OutputStream writer) throws CanonicalizationException
rootNode
- inclusiveNamespaces
- excl
- A element to exclude from the c14n process.writer
- OutputStream to write the canonicalization resultCanonicalizationException
public void engineCanonicalize(XMLSignatureInput rootNode, String inclusiveNamespaces, OutputStream writer, boolean secureValidation) throws CanonicalizationException
rootNode
- inclusiveNamespaces
- writer
- OutputStream to write the canonicalization resultsecureValidation
- Whether secure validation is enabledCanonicalizationException
public void engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet, String inclusiveNamespaces, OutputStream writer) throws CanonicalizationException
engineCanonicalizeXPathNodeSet
in class CanonicalizerSpi
xpathNodeSet
- inclusiveNamespaces
- writer
- OutputStream to write the canonicalization resultCanonicalizationException
protected void outputAttributesSubtree(Element element, NameSpaceSymbTable ns, Map<String,byte[]> cache, OutputStream writer) throws CanonicalizationException, DOMException, IOException
CanonicalizerBase
writer
- OutputStream to write the canonicalization resultCanonicalizationException
DOMException
IOException
protected void outputAttributes(Element element, NameSpaceSymbTable ns, Map<String,byte[]> cache, OutputStream writer) throws CanonicalizationException, DOMException, IOException
CanonicalizerBase
writer
- OutputStream to write the canonicalization resultCanonicalizationException
DOMException
IOException
protected void circumventBugIfNeeded(XMLSignatureInput input) throws XMLParserException, IOException
XMLParserException
IOException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.