use of org.apache.xml.security.transforms.implementations.TransformC14NWithComments in project santuario-java by apache.
the class Transform method registerDefaultAlgorithms.
/**
* This method registers the default algorithms.
*/
public static void registerDefaultAlgorithms() {
transformSpiHash.put(Transforms.TRANSFORM_BASE64_DECODE, new TransformBase64Decode());
transformSpiHash.put(Transforms.TRANSFORM_C14N_OMIT_COMMENTS, new TransformC14N());
transformSpiHash.put(Transforms.TRANSFORM_C14N_WITH_COMMENTS, new TransformC14NWithComments());
transformSpiHash.put(Transforms.TRANSFORM_C14N11_OMIT_COMMENTS, new TransformC14N11());
transformSpiHash.put(Transforms.TRANSFORM_C14N11_WITH_COMMENTS, new TransformC14N11_WithComments());
transformSpiHash.put(Transforms.TRANSFORM_C14N_EXCL_OMIT_COMMENTS, new TransformC14NExclusive());
transformSpiHash.put(Transforms.TRANSFORM_C14N_EXCL_WITH_COMMENTS, new TransformC14NExclusiveWithComments());
transformSpiHash.put(Transforms.TRANSFORM_XPATH, new TransformXPath());
transformSpiHash.put(Transforms.TRANSFORM_ENVELOPED_SIGNATURE, new TransformEnvelopedSignature());
transformSpiHash.put(Transforms.TRANSFORM_XSLT, new TransformXSLT());
transformSpiHash.put(Transforms.TRANSFORM_XPATH2FILTER, new TransformXPath2Filter());
}
use of org.apache.xml.security.transforms.implementations.TransformC14NWithComments in project santuario-xml-security-java by apache.
the class Transform method registerDefaultAlgorithms.
/**
* This method registers the default algorithms.
*/
public static void registerDefaultAlgorithms() {
transformSpiHash.put(Transforms.TRANSFORM_BASE64_DECODE, new TransformBase64Decode());
transformSpiHash.put(Transforms.TRANSFORM_C14N_OMIT_COMMENTS, new TransformC14N());
transformSpiHash.put(Transforms.TRANSFORM_C14N_WITH_COMMENTS, new TransformC14NWithComments());
transformSpiHash.put(Transforms.TRANSFORM_C14N11_OMIT_COMMENTS, new TransformC14N11());
transformSpiHash.put(Transforms.TRANSFORM_C14N11_WITH_COMMENTS, new TransformC14N11_WithComments());
transformSpiHash.put(Transforms.TRANSFORM_C14N_EXCL_OMIT_COMMENTS, new TransformC14NExclusive());
transformSpiHash.put(Transforms.TRANSFORM_C14N_EXCL_WITH_COMMENTS, new TransformC14NExclusiveWithComments());
transformSpiHash.put(Transforms.TRANSFORM_XPATH, new TransformXPath());
transformSpiHash.put(Transforms.TRANSFORM_ENVELOPED_SIGNATURE, new TransformEnvelopedSignature());
transformSpiHash.put(Transforms.TRANSFORM_XSLT, new TransformXSLT());
transformSpiHash.put(Transforms.TRANSFORM_XPATH2FILTER, new TransformXPath2Filter());
}
Aggregations