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 StringReturns the URI representation ofTransformation algorithmprotected abstract XMLSignatureInputThe mega method which MUST be implemented by the Transformation Algorithm.protected XMLSignatureInputenginePerformTransform(XMLSignatureInput input, OutputStream os) The mega method which MUST be implemented by the Transformation Algorithm.protected voidsetTransform(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-XMLSignatureInputas the input of transformationos- where to output this transformation.- Returns:
XMLSignatureInputas the result of transformation- Throws:
CanonicalizationExceptionIOExceptionInvalidCanonicalizerExceptionParserConfigurationExceptionSAXExceptionTransformationException
-
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-XMLSignatureInputas the input of transformation- Returns:
XMLSignatureInputas the result of transformation- Throws:
CanonicalizationExceptionIOExceptionInvalidCanonicalizerExceptionParserConfigurationExceptionSAXExceptionTransformationException
-
engineGetURI
Returns the URI representation ofTransformation algorithm- Returns:
- the URI representation of
Transformation algorithm
-