Module org.apache.santuario.xmlsec
Class DOMExcC14NMethod
- java.lang.Object
-
- javax.xml.crypto.dsig.TransformService
-
- org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
-
- org.apache.jcp.xml.dsig.internal.dom.DOMExcC14NMethod
-
- All Implemented Interfaces:
AlgorithmMethod,Transform,XMLStructure
public final class DOMExcC14NMethod extends ApacheCanonicalizer
DOM-based implementation of CanonicalizationMethod for Exclusive Canonical XML algorithm (with or without comments). Uses Apache XML-Sec Canonicalizer.
-
-
Field Summary
-
Fields inherited from class org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
canonicalizer, inclusiveNamespaces, ownerDoc, params, transformElem
-
-
Constructor Summary
Constructors Constructor Description DOMExcC14NMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getParameterSpecPrefixList(ExcC14NParameterSpec paramSpec)StringgetParamsNSURI()voidinit(TransformParameterSpec params)voidinit(XMLStructure parent, XMLCryptoContext context)voidmarshalParams(XMLStructure parent, XMLCryptoContext context)Datatransform(Data data, XMLCryptoContext xc)-
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
canonicalize, canonicalize, getParameterSpec, isFeatureSupported, transform
-
Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
-
-
-
-
Method Detail
-
init
public void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException
- Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException
- Overrides:
initin classApacheCanonicalizer- Throws:
InvalidAlgorithmParameterException
-
getParameterSpecPrefixList
public List<String> getParameterSpecPrefixList(ExcC14NParameterSpec paramSpec)
-
marshalParams
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
- Overrides:
marshalParamsin classApacheCanonicalizer- Throws:
MarshalException
-
getParamsNSURI
public String getParamsNSURI()
-
transform
public Data transform(Data data, XMLCryptoContext xc) throws TransformException
- Throws:
TransformException
-
-