Class TransformSpi
java.lang.Object
org.apache.xml.security.transforms.TransformSpi
Base class which all Transform algorithms extend. The common methods that
have to be overridden are the
enginePerformTransform(XMLSignatureInput)
method.- Author:
- Christian Geuer-Pollmann
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
Returns the URI representation ofTransformation algorithm
protected abstract XMLSignatureInput
The mega method which MUST be implemented by the Transformation Algorithm.protected XMLSignatureInput
enginePerformTransform
(XMLSignatureInput input, OutputStream os) The mega method which MUST be implemented by the Transformation Algorithm.protected void
setTransform
(Transform transform)
-
Field Details
-
_transformObject
-
-
Constructor Details
-
TransformSpi
public TransformSpi()
-
-
Method Details
-
setTransform
-
enginePerformTransform
protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, OutputStream os) throws IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException, ParserConfigurationException, SAXException The mega method which MUST be implemented by the Transformation Algorithm.- Parameters:
input
-XMLSignatureInput
as the input of transformationos
- where to output this transformation.- Returns:
XMLSignatureInput
as the result of transformation- Throws:
CanonicalizationException
IOException
InvalidCanonicalizerException
ParserConfigurationException
SAXException
TransformationException
-
enginePerformTransform
protected abstract XMLSignatureInput enginePerformTransform(XMLSignatureInput input) throws IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException, ParserConfigurationException, SAXException The mega method which MUST be implemented by the Transformation Algorithm.- Parameters:
input
-XMLSignatureInput
as the input of transformation- Returns:
XMLSignatureInput
as the result of transformation- Throws:
CanonicalizationException
IOException
InvalidCanonicalizerException
ParserConfigurationException
SAXException
TransformationException
-
engineGetURI
Returns the URI representation ofTransformation algorithm
- Returns:
- the URI representation of
Transformation algorithm
-