APIdia Launch Partner
Top Description Inners Constructors Methods
com.sun.org.apache.xml.internal.security.transforms.implementations

public Class TransformEnvelopedSignature

extends TransformSpi
Class Inheritance
Imports
java.io.IOException, .OutputStream, com.sun.org.apache.xml.internal.security.parser.XMLParserException, com.sun.org.apache.xml.internal.security.signature.NodeFilter, .XMLSignatureInput, com.sun.org.apache.xml.internal.security.transforms.TransformSpi, .TransformationException, .Transforms, com.sun.org.apache.xml.internal.security.utils.Constants, .XMLUtils, org.w3c.dom.Element, .Node

Implements the http://www.w3.org/2000/09/xmldsig#enveloped-signature transform.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected String
engineGetURI()

Implements abstract com.sun.org.apache.xml.internal.security.transforms.TransformSpi.engineGetURI.

Returns the URI representation of Transformation algorithm

protected XMLSignatureInput
enginePerformTransform(XMLSignatureInput input, OutputStream os, Element transformElement, String baseURI, boolean secureValidation)

Implements abstract com.sun.org.apache.xml.internal.security.transforms.TransformSpi.enginePerformTransform.

The mega method which MUST be implemented by the Transformation Algorithm.

private static Node
searchSignatureElement(Node signatureElement)

Returns: the node that is the signature

Constructor Detail

TransformEnvelopedSignatureback to summary
public TransformEnvelopedSignature()

Method Detail

engineGetURIback to summary
protected String engineGetURI()

Implements abstract com.sun.org.apache.xml.internal.security.transforms.TransformSpi.engineGetURI.

Doc from com.sun.org.apache.xml.internal.security.transforms.TransformSpi.engineGetURI.

Returns the URI representation of Transformation algorithm

Annotations
@Override
enginePerformTransformback to summary
protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, OutputStream os, Element transformElement, String baseURI, boolean secureValidation) throws TransformationException

Implements abstract com.sun.org.apache.xml.internal.security.transforms.TransformSpi.enginePerformTransform.

Doc from com.sun.org.apache.xml.internal.security.transforms.TransformSpi.enginePerformTransform.

The mega method which MUST be implemented by the Transformation Algorithm.

Annotations
@Override
searchSignatureElementback to summary
private static Node searchSignatureElement(Node signatureElement) throws TransformationException
Returns:Node

the node that is the signature

com.sun.org.apache.xml.internal.security.transforms.implementations back to summary

pack-priv Class TransformEnvelopedSignature.EnvelopedNodeFilter

extends Object
implements NodeFilter
Class Inheritance
  • java.lang.Object
  • com.sun.org.apache.xml.internal.security.transforms.implementations.TransformEnvelopedSignature.EnvelopedNodeFilter
All Implemented Interfaces
com.sun.org.apache.xml.internal.security.signature.NodeFilter

Field Summary

Modifier and TypeField and Description
private final Node

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
public int
isNodeIncludeDO(Node n, int level)

Implements com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeIncludeDO.

Tells if a node must be output in a c14n.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

excludeback to summary
private final Node exclude

Constructor Detail

EnvelopedNodeFilterback to summary
pack-priv EnvelopedNodeFilter(Node n)

Method Detail

isNodeIncludeback to summary
public int isNodeInclude(Node n)

Implements com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeInclude.

Doc from com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeInclude.

Tells if a node must be output in c14n.

See Also
com.sun.org.apache.xml.internal.security.signature.NodeFilter#isNodeInclude(org.w3c.dom.Node)
isNodeIncludeDOback to summary
public int isNodeIncludeDO(Node n, int level)

Implements com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeIncludeDO.

Doc from com.sun.org.apache.xml.internal.security.signature.NodeFilter.isNodeIncludeDO.

Tells if a node must be output in a c14n. The caller must assured that this method is always call in document order. The implementations can use this restriction to optimize the transformation.