Class TransformC14N
java.lang.Object
org.docx4j.org.apache.xml.security.transforms.TransformSpi
org.docx4j.org.apache.xml.security.transforms.implementations.TransformC14N
public class TransformC14N extends TransformSpi
Implements the
http://www.w3.org/TR/2001/REC-xml-c14n-20010315
transform.- Author:
- Christian Geuer-Pollmann
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
implementedTransformURI
Field implementedTransformURIFields inherited from class org.docx4j.org.apache.xml.security.transforms.TransformSpi
secureValidation
-
Constructor Summary
Constructors Constructor Description TransformC14N()
-
Method Summary
Modifier and Type Method Description protected java.lang.String
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.Methods inherited from class org.docx4j.org.apache.xml.security.transforms.TransformSpi
enginePerformTransform, enginePerformTransform
-
Field Details
-
implementedTransformURI
public static final java.lang.String implementedTransformURIField implementedTransformURI- See Also:
- Constant Field Values
-
-
Constructor Details
-
TransformC14N
public TransformC14N()
-
-
Method Details
-
engineGetURI
protected java.lang.String engineGetURI()Description copied from class:TransformSpi
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 CanonicalizationExceptionDescription copied from class:TransformSpi
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:
CanonicalizationException
-