Package | Description |
---|---|
org.apache.jcp.xml.dsig.internal.dom | |
org.apache.xml.security.c14n |
Canonicalization related material and algorithms.
|
org.apache.xml.security.c14n.helper |
helper classes for canonicalization.
|
org.apache.xml.security.c14n.implementations |
canonicalization implementations.
|
org.apache.xml.security.signature |
XML Signature specific classes.
|
org.apache.xml.security.transforms |
the framework for XML Signature transforms.
|
org.apache.xml.security.transforms.implementations |
implementations of XML Signature transforms.
|
Constructor and Description |
---|
ApacheOctetStreamData(XMLSignatureInput xi) |
Modifier and Type | Method and Description |
---|---|
byte[] |
Canonicalizer.canonicalize(byte[] inputBytes)
This method tries to canonicalize the given bytes.
|
byte[] |
Canonicalizer.canonicalizeSubtree(org.w3c.dom.Node node)
Canonicalizes the subtree rooted by
node . |
byte[] |
Canonicalizer.canonicalizeSubtree(org.w3c.dom.Node node,
java.lang.String inclusiveNamespaces)
Canonicalizes the subtree rooted by
node . |
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet)
Canonicalizes an XPath node set.
|
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet,
java.lang.String inclusiveNamespaces)
Canonicalizes an XPath node set.
|
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet)
Canonicalizes an XPath node set.
|
byte[] |
Canonicalizer.canonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet,
java.lang.String inclusiveNamespaces)
Canonicalizes an XPath node set.
|
byte[] |
CanonicalizerSpi.engineCanonicalize(byte[] inputBytes)
Method canonicalize
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode)
C14n a node tree.
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces)
C14n a node tree.
|
byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet)
Method engineCanonicalizeXPathNodeSet
|
byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet,
java.lang.String inclusiveNamespaces)
Method engineCanonicalizeXPathNodeSet
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet)
C14n a nodeset
|
abstract byte[] |
CanonicalizerSpi.engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet,
java.lang.String inclusiveNamespaces)
C14n a nodeset
|
Modifier and Type | Method and Description |
---|---|
static void |
C14nHelper.assertNotRelativeNS(org.w3c.dom.Attr attr)
This method throws an exception if the Attribute value contains
a relative URI.
|
static void |
C14nHelper.checkForRelativeNamespace(org.w3c.dom.Element ctxNode)
This method throws a CanonicalizationException if the supplied Element
contains any relative namespaces.
|
static void |
C14nHelper.checkTraversability(org.w3c.dom.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(org.w3c.dom.Node currentNode,
NameSpaceSymbTable ns,
org.w3c.dom.Node endnode,
int documentLevel)
Method canonicalizeSubTree, this function is a recursive one.
|
protected void |
CanonicalizerBase.canonicalizeXPathNodeSet(org.w3c.dom.Node currentNode,
org.w3c.dom.Node endnode)
Canonicalizes all the nodes included in the currentNode and contained in the
xpathNodeSet field.
|
protected void |
Canonicalizer20010315Excl.circumventBugIfNeeded(XMLSignatureInput input) |
protected void |
Canonicalizer20010315.circumventBugIfNeeded(XMLSignatureInput input) |
protected void |
Canonicalizer11.circumventBugIfNeeded(XMLSignatureInput input) |
protected void |
CanonicalizerPhysical.circumventBugIfNeeded(XMLSignatureInput input) |
byte[] |
CanonicalizerBase.engineCanonicalize(XMLSignatureInput input)
Canonicalizes a Subtree node.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalize(XMLSignatureInput rootNode,
java.lang.String inclusiveNamespaces) |
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode)
Method engineCanonicalizeSubTree
|
byte[] |
CanonicalizerBase.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode)
Method engineCanonicalizeSubTree
|
protected byte[] |
CanonicalizerBase.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
org.w3c.dom.Node excludeNode)
Canonicalizes a Subtree node.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces)
Method engineCanonicalizeSubTree
|
byte[] |
Canonicalizer20010315.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
Canonicalizer11.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
CanonicalizerPhysical.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces)
Always throws a CanonicalizationException.
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces,
org.w3c.dom.Node excl)
Method engineCanonicalizeSubTree
|
byte[] |
CanonicalizerBase.engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet)
Method engineCanonicalizeXPathNodeSet
|
byte[] |
Canonicalizer20010315Excl.engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet,
java.lang.String inclusiveNamespaces)
Method engineCanonicalizeXPathNodeSet
|
byte[] |
Canonicalizer20010315.engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet,
java.lang.String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
Canonicalizer11.engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet,
java.lang.String inclusiveNamespaces)
Always throws a CanonicalizationException because this is inclusive c14n.
|
byte[] |
CanonicalizerPhysical.engineCanonicalizeXPathNodeSet(java.util.Set<org.w3c.dom.Node> xpathNodeSet,
java.lang.String inclusiveNamespaces)
Always throws a CanonicalizationException.
|
protected java.util.Iterator<org.w3c.dom.Attr> |
Canonicalizer20010315Excl.handleAttributes(org.w3c.dom.Element element,
NameSpaceSymbTable ns) |
protected java.util.Iterator<org.w3c.dom.Attr> |
Canonicalizer20010315.handleAttributes(org.w3c.dom.Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected java.util.Iterator<org.w3c.dom.Attr> |
Canonicalizer11.handleAttributes(org.w3c.dom.Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected java.util.Iterator<org.w3c.dom.Attr> |
CanonicalizerPhysical.handleAttributes(org.w3c.dom.Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected java.util.Iterator<org.w3c.dom.Attr> |
Canonicalizer20010315Excl.handleAttributesSubtree(org.w3c.dom.Element element,
NameSpaceSymbTable ns) |
protected java.util.Iterator<org.w3c.dom.Attr> |
Canonicalizer20010315.handleAttributesSubtree(org.w3c.dom.Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected java.util.Iterator<org.w3c.dom.Attr> |
Canonicalizer11.handleAttributesSubtree(org.w3c.dom.Element element,
NameSpaceSymbTable ns)
Returns the Attr[]s to be output for the given element.
|
protected java.util.Iterator<org.w3c.dom.Attr> |
CanonicalizerPhysical.handleAttributesSubtree(org.w3c.dom.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 |
byte[] |
SignedInfo.getCanonicalizedOctetStream()
Returns getCanonicalizedOctetStream
|
java.util.Set<org.w3c.dom.Node> |
XMLSignatureInput.getNodeSet()
Returns the node set from input which was specified as the parameter of
XMLSignatureInput constructor |
java.util.Set<org.w3c.dom.Node> |
XMLSignatureInput.getNodeSet(boolean circumvent)
Returns the node set from input which was specified as the parameter of
XMLSignatureInput constructor |
void |
SignedInfo.signInOctetStream(java.io.OutputStream os)
Output the C14n stream to the given OutputStream.
|
void |
XMLSignatureInput.updateOutputStream(java.io.OutputStream diOs) |
void |
XMLSignatureInput.updateOutputStream(java.io.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,
java.io.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,
java.io.OutputStream os)
Transforms the input, and generates
XMLSignatureInput as output. |
Modifier and Type | Method and Description |
---|---|
protected XMLSignatureInput |
TransformC14NExclusive.enginePerformTransform(XMLSignatureInput input,
java.io.OutputStream os,
Transform transformObject) |
protected XMLSignatureInput |
TransformC14N11_WithComments.enginePerformTransform(XMLSignatureInput input,
java.io.OutputStream os,
Transform transform) |
protected XMLSignatureInput |
TransformC14N11.enginePerformTransform(XMLSignatureInput input,
java.io.OutputStream os,
Transform transform) |
protected XMLSignatureInput |
TransformC14N.enginePerformTransform(XMLSignatureInput input,
java.io.OutputStream os,
Transform transformObject) |
protected XMLSignatureInput |
TransformBase64Decode.enginePerformTransform(XMLSignatureInput input,
java.io.OutputStream os,
Transform transformObject) |
protected XMLSignatureInput |
TransformC14NExclusiveWithComments.enginePerformTransform(XMLSignatureInput input,
java.io.OutputStream os,
Transform transformObject) |
protected XMLSignatureInput |
TransformC14NWithComments.enginePerformTransform(XMLSignatureInput input,
java.io.OutputStream os,
Transform transformObject) |
protected XMLSignatureInput |
TransformBase64Decode.enginePerformTransform(XMLSignatureInput input,
Transform transformObject)
Method enginePerformTransform
|
Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.