Modifier and Type | Method and Description |
---|---|
static byte[] |
XmlUtils.trimNamespaces(Document doc,
String ignorables)
Removes superflouous namespaces.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
Canonicalizer.canonicalize(byte[] inputBytes)
This method tries to canonicalize the given bytes.
|
byte[] |
Canonicalizer.canonicalizeSubtree(Node node)
Canonicalizes the subtree rooted by
node . |
byte[] |
Canonicalizer.canonicalizeSubtree(Node node,
String inclusiveNamespaces)
Canonicalizes the subtree rooted by
node . |
byte[] |
Canonicalizer.canonicalizeSubtree(Node node,
String inclusiveNamespaces,
boolean propagateDefaultNamespace)
Canonicalizes the subtree rooted by
node . |
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(NodeList xpathNodeSet)
Canonicalizes an XPath node set.
|
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(NodeList xpathNodeSet,
String inclusiveNamespaces)
Canonicalizes an XPath node set.
|
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(Set<Node> xpathNodeSet)
Canonicalizes an XPath node set.
|
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces)
Canonicalizes an XPath node set.
|
byte[] |
CanonicalizerSpi.engineCanonicalize(byte[] inputBytes)
Method canonicalize
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeSubTree(Node rootNode)
C14n a node tree.
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces)
C14n a node tree.
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
boolean propagateDefaultNamespace)
C14n a node tree.
|
byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(NodeList xpathNodeSet)
Method engineCanonicalizeXPathNodeSet
|
byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(NodeList xpathNodeSet,
String inclusiveNamespaces)
Method engineCanonicalizeXPathNodeSet
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet)
C14n a nodeset
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces)
C14n a nodeset
|
Modifier and Type | Method and Description |
---|---|
static void |
C14nHelper.assertNotRelativeNS(Attr attr)
This method throws an exception if the Attribute value contains
a relative URI.
|
static void |
C14nHelper.checkForRelativeNamespace(Element ctxNode)
This method throws a CanonicalizationException if the supplied Element
contains any relative namespaces.
|
static void |
C14nHelper.checkTraversability(Document document)
This method throws a CanonicalizationException if the supplied Document
is not able to be traversed using a TreeWalker.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CanonicalizerBase.canonicalizeSubTree(Node currentNode,
NameSpaceSymbTable ns,
Node endnode,
int documentLevel)
Method canonicalizeSubTree, this function is a recursive one.
|
protected void |
CanonicalizerBase.canonicalizeXPathNodeSet(Node currentNode,
Node endnode)
Canonicalizes all the nodes included in the currentNode and contained in the
xpathNodeSet field.
|
protected void |
Canonicalizer11.circumventBugIfNeeded(XMLSignatureInput input) |
protected void |
Canonicalizer20010315Excl.circumventBugIfNeeded(XMLSignatureInput input) |
protected void |
CanonicalizerPhysical.circumventBugIfNeeded(XMLSignatureInput input) |
protected void |
Canonicalizer20010315.circumventBugIfNeeded(XMLSignatureInput input) |
byte[] |
CanonicalizerBase.engineCanonicalize(XMLSignatureInput input)
Canonicalizes a Subtree node.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalize(XMLSignatureInput rootNode,
String inclusiveNamespaces) |
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeSubTree(Node rootNode)
Method engineCanonicalizeSubTree
|
byte[] |
CanonicalizerBase.engineCanonicalizeSubTree(Node rootNode)
Method engineCanonicalizeSubTree
|
protected byte[] |
CanonicalizerBase.engineCanonicalizeSubTree(Node rootNode,
Node excludeNode)
Canonicalizes a Subtree node.
|
byte[] |
Canonicalizer11.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces)
Method engineCanonicalizeSubTree
|
byte[] |
CanonicalizerPhysical.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces)
Always throws a CanonicalizationException.
|
byte[] |
Canonicalizer20010315.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
Canonicalizer11.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
boolean propagateDefaultNamespace)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
boolean propagateDefaultNamespace)
Method engineCanonicalizeSubTree
|
byte[] |
CanonicalizerPhysical.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
boolean propagateDefaultNamespace)
Always throws a CanonicalizationException.
|
byte[] |
Canonicalizer20010315.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
boolean propagateDefaultNamespace)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
Node excl)
Method engineCanonicalizeSubTree
|
byte[] |
CanonicalizerBase.engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet)
Method engineCanonicalizeXPathNodeSet
|
byte[] |
Canonicalizer11.engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces)
Method engineCanonicalizeXPathNodeSet
|
byte[] |
CanonicalizerPhysical.engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces)
Always throws a CanonicalizationException.
|
byte[] |
Canonicalizer20010315.engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
protected Iterator<Attr> |
Canonicalizer11.handleAttributes(Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected Iterator<Attr> |
Canonicalizer20010315Excl.handleAttributes(Element element,
NameSpaceSymbTable ns) |
protected Iterator<Attr> |
CanonicalizerPhysical.handleAttributes(Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected Iterator<Attr> |
Canonicalizer20010315.handleAttributes(Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected Iterator<Attr> |
Canonicalizer11.handleAttributesSubtree(Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected Iterator<Attr> |
Canonicalizer20010315Excl.handleAttributesSubtree(Element element,
NameSpaceSymbTable ns) |
protected Iterator<Attr> |
CanonicalizerPhysical.handleAttributesSubtree(Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected Iterator<Attr> |
Canonicalizer20010315.handleAttributesSubtree(Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
XMLSignatureInput.getBytes()
Returns the byte array from input which was specified as the parameter of
XMLSignatureInput constructor |
Set<Node> |
XMLSignatureInput.getNodeSet()
Returns the node set from input which was specified as the parameter of
XMLSignatureInput constructor |
Set<Node> |
XMLSignatureInput.getNodeSet(boolean circumvent)
Returns the node set from input which was specified as the parameter of
XMLSignatureInput constructor |
void |
XMLSignatureInput.updateOutputStream(OutputStream diOs) |
void |
XMLSignatureInput.updateOutputStream(OutputStream diOs,
boolean c14n11) |
Modifier and Type | Method and Description |
---|---|
protected XMLSignatureInput |
TransformSpi.enginePerformTransform(XMLSignatureInput input)
The mega method which MUST be implemented by the Transformation Algorithm.
|
protected XMLSignatureInput |
TransformSpi.enginePerformTransform(XMLSignatureInput input,
OutputStream os,
Transform transformObject)
The mega method which MUST be implemented by the Transformation Algorithm.
|
protected XMLSignatureInput |
TransformSpi.enginePerformTransform(XMLSignatureInput input,
Transform transformObject)
The mega method which MUST be implemented by the Transformation Algorithm.
|
XMLSignatureInput |
Transform.performTransform(XMLSignatureInput input)
Transforms the input, and generates
XMLSignatureInput as output. |
XMLSignatureInput |
Transform.performTransform(XMLSignatureInput input,
OutputStream os)
Transforms the input, and generates
XMLSignatureInput as output. |
Copyright © 2007-2019. All Rights Reserved.