| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| protected static final AttrCompare | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private boolean | |
| private static final byte[] | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| private List | |
| private Attr | nullNode
The null xmlns definition. |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private Set |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | canonicalizeSubTree(Node currentNode, NameSpaceSymbTable ns, Node endnode, int documentLevel, Node excludeNode, OutputStream
OutputStream to write the canonicalization result writer)Method canonicalizeSubTree, this function is a recursive one. |
| private void | canonicalizeXPathNodeSet(Node currentNode, Node endnode, OutputStream
OutputStream to write the canonicalization result writer)Canonicalizes all the nodes included in the currentNode and contained in the xpathNodeSet field. |
| pack-priv abstract void | |
| public void | engineCanonicalize(XMLSignatureInput
the root of the subtree to canicalize input, OutputStream OutputStream to write the canonicalization result writer, boolean Whether secure validation is enabled secureValidation)Canonicalizes a Subtree node. |
| public void | engineCanonicalizeSubTree(Node rootNode, OutputStream
OutputStream to write the canonicalization result writer)Implements abstract com. Method engineCanonicalizeSubTree C14n a node tree. |
| protected void | engineCanonicalizeSubTree(Node
the root of the subtree to canonicalize rootNode, Node a node to be excluded from the canonicalize operation excludeNode, OutputStream OutputStream to write the canonicalization result writer)Canonicalizes a Subtree node. |
| public void | engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet, OutputStream
OutputStream to write the canonicalization result writer)Implements abstract com. Method engineCanonicalizeXPathNodeSet C14n a nodeset |
| private void | |
| protected Attr | |
| private void | getParentNameSpaces(Element el, NameSpaceSymbTable ns)
Adds to ns the definitions from the parent elements of el |
| protected void | |
| protected boolean | |
| protected int | |
| protected int | |
| pack-priv abstract void | outputAttributes(Element element, NameSpaceSymbTable ns, Map<String, byte[]> cache, OutputStream
OutputStream to write the canonicalization result writer)Output the attributes for this node in XPathNodeSet c14n. |
| pack-priv abstract void | outputAttributesSubtree(Element element, NameSpaceSymbTable ns, Map<String, byte[]> cache, OutputStream
OutputStream to write the canonicalization result writer)Output the attributes for this node in a Subtree c14n. |
| protected static final void | outputAttrToWriter(final String name, final String value, final OutputStream writer, final Map<String, byte[]> cache)
Outputs an Attribute to the internal Writer. |
| protected void | outputCommentToWriter(Comment currentComment, OutputStream
writer where to write the things writer, int position)Method outputCommentToWriter |
| protected void | outputPItoWriter(ProcessingInstruction currentPI, OutputStream
where to write the things writer, int position)Outputs a PI to the internal Writer. |
| private static final void | outputTextToWriter(final String text, final OutputStream
writer where to write the things writer)Outputs a Text of CDATA section to the internal Writer. |
| AMP | back to summary |
|---|---|
| private static final byte[] AMP | |
| BEGIN_COMM | back to summary |
|---|---|
| private static final byte[] BEGIN_COMM | |
| BEGIN_PI | back to summary |
|---|---|
| private static final byte[] BEGIN_PI | |
| COMPARE | back to summary |
|---|---|
| protected static final AttrCompare COMPARE | |
| END_COMM | back to summary |
|---|---|
| private static final byte[] END_COMM | |
| END_PI | back to summary |
|---|---|
| private static final byte[] END_PI | |
| END_TAG | back to summary |
|---|---|
| private static final byte[] END_TAG | |
| EQUALS_STR | back to summary |
|---|---|
| private static final byte[] EQUALS_STR | |
| GT | back to summary |
|---|---|
| private static final byte[] GT | |
| includeComments | back to summary |
|---|---|
| private boolean includeComments | |
| LT | back to summary |
|---|---|
| private static final byte[] LT | |
| NODE_AFTER_DOCUMENT_ELEMENT | back to summary |
|---|---|
| protected static final int NODE_AFTER_DOCUMENT_ELEMENT | |
| NODE_BEFORE_DOCUMENT_ELEMENT | back to summary |
|---|---|
| protected static final int NODE_BEFORE_DOCUMENT_ELEMENT | |
| NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT | back to summary |
|---|---|
| protected static final int NODE_NOT_BEFORE_OR_AFTER_DOCUMENT_ELEMENT | |
| nodeFilter | back to summary |
|---|---|
| private List<NodeFilter> nodeFilter | |
| nullNode | back to summary |
|---|---|
| private Attr nullNode The null xmlns definition. | |
| QUOT | back to summary |
|---|---|
| private static final byte[] QUOT | |
| X9 | back to summary |
|---|---|
| private static final byte[] X9 | |
| XA | back to summary |
|---|---|
| private static final byte[] XA | |
| XD | back to summary |
|---|---|
| private static final byte[] XD | |
| XML | back to summary |
|---|---|
| public static final String XML | |
| XML_LANG_URI | back to summary |
|---|---|
| public static final String XML_LANG_URI | |
| XMLNS | back to summary |
|---|---|
| public static final String XMLNS | |
| XMLNS_URI | back to summary |
|---|---|
| public static final String XMLNS_URI | |
| xpathNodeSet | back to summary |
|---|---|
| private Set<Node> xpathNodeSet | |
| CanonicalizerBase | back to summary |
|---|---|
| protected CanonicalizerBase(boolean includeComments) Constructor CanonicalizerBase | |
| canonicalizeSubTree | back to summary |
|---|---|
| private void canonicalizeSubTree(Node currentNode, NameSpaceSymbTable ns, Node endnode, int documentLevel, Node excludeNode, OutputStream writer) throws CanonicalizationException, IOException Method canonicalizeSubTree, this function is a recursive one.
| |
| canonicalizeXPathNodeSet | back to summary |
|---|---|
| private void canonicalizeXPathNodeSet(Node currentNode, Node endnode, OutputStream writer) throws CanonicalizationException, IOException Canonicalizes all the nodes included in the currentNode and contained in the xpathNodeSet field.
| |
| circumventBugIfNeeded | back to summary |
|---|---|
| pack-priv abstract void circumventBugIfNeeded(XMLSignatureInput input) throws XMLParserException, IOException | |
| engineCanonicalize | back to summary |
|---|---|
| public void engineCanonicalize(XMLSignatureInput input, OutputStream writer, boolean secureValidation) throws CanonicalizationException Canonicalizes a Subtree node.
| |
| engineCanonicalizeSubTree | back to summary |
|---|---|
| public void engineCanonicalizeSubTree(Node rootNode, OutputStream writer) throws CanonicalizationException Implements abstract com. Doc from com. Method engineCanonicalizeSubTree C14n a node tree.
| |
| engineCanonicalizeSubTree | back to summary |
|---|---|
| protected void engineCanonicalizeSubTree(Node rootNode, Node excludeNode, OutputStream writer) throws CanonicalizationException Canonicalizes a Subtree node.
| |
| engineCanonicalizeXPathNodeSet | back to summary |
|---|---|
| public void engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet, OutputStream writer) throws CanonicalizationException Implements abstract com. Doc from com. Method engineCanonicalizeXPathNodeSet C14n a nodeset
| |
| engineCanonicalizeXPathNodeSetInternal | back to summary |
|---|---|
| private void engineCanonicalizeXPathNodeSetInternal(Node doc, OutputStream writer) throws CanonicalizationException | |
| getNullNode | back to summary |
|---|---|
| protected Attr getNullNode(Document ownerDocument) | |
| getParentNameSpaces | back to summary |
|---|---|
| private void getParentNameSpaces(Element el, NameSpaceSymbTable ns) Adds to ns the definitions from the parent elements of el | |
| handleParent | back to summary |
|---|---|
| protected void handleParent(Element e, NameSpaceSymbTable ns) | |
| isVisible | back to summary |
|---|---|
| protected boolean isVisible(Node currentNode) throws CanonicalizationException | |
| isVisibleDO | back to summary |
|---|---|
| protected int isVisibleDO(Node currentNode, int level) throws CanonicalizationException | |
| isVisibleInt | back to summary |
|---|---|
| protected int isVisibleInt(Node currentNode) throws CanonicalizationException | |
| outputAttributes | back to summary |
|---|---|
| pack-priv abstract void outputAttributes(Element element, NameSpaceSymbTable ns, Map<String, byte[]> cache, OutputStream writer) throws CanonicalizationException, DOMException, IOException Output the attributes for this node in XPathNodeSet c14n.
| |
| outputAttributesSubtree | back to summary |
|---|---|
| pack-priv abstract void outputAttributesSubtree(Element element, NameSpaceSymbTable ns, Map<String, byte[]> cache, OutputStream writer) throws CanonicalizationException, DOMException, IOException Output the attributes for this node in a Subtree c14n.
| |
| outputAttrToWriter | back to summary |
|---|---|
| protected static final void outputAttrToWriter(final String name, final String value, final OutputStream writer, final Map<String, byte[]> cache) throws IOException Outputs an Attribute to the internal Writer. The string value of the node is modified by replacing
| |
| outputCommentToWriter | back to summary |
|---|---|
| protected void outputCommentToWriter(Comment currentComment, OutputStream writer, int position) throws IOException Method outputCommentToWriter
| |
| outputPItoWriter | back to summary |
|---|---|
| protected void outputPItoWriter(ProcessingInstruction currentPI, OutputStream writer, int position) throws IOException Outputs a PI to the internal Writer.
| |
| outputTextToWriter | back to summary |
|---|---|
| private static final void outputTextToWriter(final String text, final OutputStream writer) throws IOException Outputs a Text of CDATA section to the internal Writer.
| |