Class TransformEnvelopedSignature
- java.lang.Object
-
- org.apache.xml.security.transforms.TransformSpi
-
- org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature
-
public class TransformEnvelopedSignature extends TransformSpi
Implements thehttp://www.w3.org/2000/09/xmldsig#enveloped-signaturetransform.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classTransformEnvelopedSignature.EnvelopedNodeFilter
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringimplementedTransformURIField implementedTransformURI-
Fields inherited from class org.apache.xml.security.transforms.TransformSpi
secureValidation
-
-
Constructor Summary
Constructors Constructor Description TransformEnvelopedSignature()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringengineGetURI()Method engineGetURI Returns the URI representation ofTransformation algorithmprotected XMLSignatureInputenginePerformTransform(XMLSignatureInput input, java.io.OutputStream os, Transform transformObject)The mega method which MUST be implemented by the Transformation Algorithm.private static org.w3c.dom.NodesearchSignatureElement(org.w3c.dom.Node signatureElement)-
Methods inherited from class org.apache.xml.security.transforms.TransformSpi
enginePerformTransform, enginePerformTransform
-
-
-
-
Field Detail
-
implementedTransformURI
public static final java.lang.String implementedTransformURI
Field implementedTransformURI- See Also:
- Constant Field Values
-
-
Method Detail
-
engineGetURI
protected java.lang.String engineGetURI()
Method engineGetURI Returns the URI representation ofTransformation algorithm- Specified by:
engineGetURIin classTransformSpi- Returns:
- the URI representation of
Transformation algorithm
-
enginePerformTransform
protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, java.io.OutputStream os, Transform transformObject) throws TransformationException
The mega method which MUST be implemented by the Transformation Algorithm.- Overrides:
enginePerformTransformin classTransformSpi- Parameters:
input-XMLSignatureInputas the input of transformationos- where to output this transformation.transformObject- the Transform object- Returns:
XMLSignatureInputas the result of transformation- Throws:
TransformationException
-
searchSignatureElement
private static org.w3c.dom.Node searchSignatureElement(org.w3c.dom.Node signatureElement) throws TransformationException- Parameters:
signatureElement-- Returns:
- the node that is the signature
- Throws:
TransformationException
-
-