Module org.apache.santuario.xmlsec
Class TransformC14NExclusive
- java.lang.Object
-
- org.apache.xml.security.transforms.TransformSpi
-
- org.apache.xml.security.transforms.implementations.TransformC14NExclusive
-
- Direct Known Subclasses:
TransformC14NExclusiveWithComments
public class TransformC14NExclusive extends TransformSpi
Class TransformC14NExclusive
-
-
Constructor Summary
Constructors Constructor Description TransformC14NExclusive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringengineGetURI()Returns the URI representation ofTransformation algorithmprotected XMLSignatureInputenginePerformTransform(XMLSignatureInput input, java.io.OutputStream os, org.w3c.dom.Element transformElement, java.lang.String baseURI, boolean secureValidation)The mega method which MUST be implemented by the Transformation Algorithm.protected Canonicalizer20010315ExclgetCanonicalizer()private intlength(org.w3c.dom.Element element, java.lang.String namespace, java.lang.String localname)Method length
-
-
-
Method Detail
-
engineGetURI
protected java.lang.String 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, org.w3c.dom.Element transformElement, java.lang.String baseURI, boolean secureValidation) throws CanonicalizationException
The mega method which MUST be implemented by the Transformation Algorithm.- Specified by:
enginePerformTransformin classTransformSpi- Parameters:
input-XMLSignatureInputas the input of transformationos- where to output this transformation.transformElement- the Transform elementbaseURI- The baseURIsecureValidation- Whether secure validation is enabled- Returns:
XMLSignatureInputas the result of transformation- Throws:
CanonicalizationException
-
getCanonicalizer
protected Canonicalizer20010315Excl getCanonicalizer()
-
length
private int length(org.w3c.dom.Element element, java.lang.String namespace, java.lang.String localname)Method length- Parameters:
namespace-localname-- Returns:
- the number of elements {namespace}:localname under this element
-
-