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-signature
transform.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
TransformEnvelopedSignature.EnvelopedNodeFilter
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
implementedTransformURI
Field 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.String
engineGetURI()
Method engineGetURI Returns the URI representation ofTransformation algorithm
protected XMLSignatureInput
enginePerformTransform(XMLSignatureInput input, java.io.OutputStream os, Transform transformObject)
The mega method which MUST be implemented by the Transformation Algorithm.private static org.w3c.dom.Node
searchSignatureElement(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:
engineGetURI
in 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:
enginePerformTransform
in classTransformSpi
- Parameters:
input
-XMLSignatureInput
as the input of transformationos
- where to output this transformation.transformObject
- the Transform object- Returns:
XMLSignatureInput
as 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
-
-