Search in sources :

Example 1 with TransformXPath

use of org.apache.xml.security.transforms.implementations.TransformXPath 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());
}
Also used : TransformC14N11(org.apache.xml.security.transforms.implementations.TransformC14N11) TransformC14NExclusive(org.apache.xml.security.transforms.implementations.TransformC14NExclusive) TransformC14NExclusiveWithComments(org.apache.xml.security.transforms.implementations.TransformC14NExclusiveWithComments) TransformBase64Decode(org.apache.xml.security.transforms.implementations.TransformBase64Decode) TransformXSLT(org.apache.xml.security.transforms.implementations.TransformXSLT) TransformC14N(org.apache.xml.security.transforms.implementations.TransformC14N) TransformXPath2Filter(org.apache.xml.security.transforms.implementations.TransformXPath2Filter) TransformC14N11_WithComments(org.apache.xml.security.transforms.implementations.TransformC14N11_WithComments) TransformEnvelopedSignature(org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature) TransformXPath(org.apache.xml.security.transforms.implementations.TransformXPath) TransformC14NWithComments(org.apache.xml.security.transforms.implementations.TransformC14NWithComments)

Example 2 with TransformXPath

use of org.apache.xml.security.transforms.implementations.TransformXPath 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());
}
Also used : TransformC14N11(org.apache.xml.security.transforms.implementations.TransformC14N11) TransformC14NExclusive(org.apache.xml.security.transforms.implementations.TransformC14NExclusive) TransformC14NExclusiveWithComments(org.apache.xml.security.transforms.implementations.TransformC14NExclusiveWithComments) TransformBase64Decode(org.apache.xml.security.transforms.implementations.TransformBase64Decode) TransformXSLT(org.apache.xml.security.transforms.implementations.TransformXSLT) TransformC14N(org.apache.xml.security.transforms.implementations.TransformC14N) TransformXPath2Filter(org.apache.xml.security.transforms.implementations.TransformXPath2Filter) TransformC14N11_WithComments(org.apache.xml.security.transforms.implementations.TransformC14N11_WithComments) TransformEnvelopedSignature(org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature) TransformXPath(org.apache.xml.security.transforms.implementations.TransformXPath) TransformC14NWithComments(org.apache.xml.security.transforms.implementations.TransformC14NWithComments)

Aggregations

TransformBase64Decode (org.apache.xml.security.transforms.implementations.TransformBase64Decode)2 TransformC14N (org.apache.xml.security.transforms.implementations.TransformC14N)2 TransformC14N11 (org.apache.xml.security.transforms.implementations.TransformC14N11)2 TransformC14N11_WithComments (org.apache.xml.security.transforms.implementations.TransformC14N11_WithComments)2 TransformC14NExclusive (org.apache.xml.security.transforms.implementations.TransformC14NExclusive)2 TransformC14NExclusiveWithComments (org.apache.xml.security.transforms.implementations.TransformC14NExclusiveWithComments)2 TransformC14NWithComments (org.apache.xml.security.transforms.implementations.TransformC14NWithComments)2 TransformEnvelopedSignature (org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature)2 TransformXPath (org.apache.xml.security.transforms.implementations.TransformXPath)2 TransformXPath2Filter (org.apache.xml.security.transforms.implementations.TransformXPath2Filter)2 TransformXSLT (org.apache.xml.security.transforms.implementations.TransformXSLT)2