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
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 ApacheCanonicalizer
apacheCanonicalizer, inclusiveNamespaces, ownerDoc, params, transformElem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParameterSpecPrefixList(ExcC14NParameterSpec paramSpec) voidinit(TransformParameterSpec params) voidinit(XMLStructure parent, XMLCryptoContext context) voidmarshalParams(XMLStructure parent, XMLCryptoContext context) transform(Data data, XMLCryptoContext xc) private voidunmarshalParams(Element paramsElem) Methods inherited from class ApacheCanonicalizer
canonicalize, canonicalize, getParameterSpec, isFeatureSupported, transformMethods inherited from class TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
-
Constructor Details
-
DOMExcC14NMethod
public DOMExcC14NMethod()
-
-
Method Details
-
init
- Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException - Overrides:
initin classApacheCanonicalizer- Throws:
InvalidAlgorithmParameterException
-
unmarshalParams
-
getParameterSpecPrefixList
-
marshalParams
- Overrides:
marshalParamsin classApacheCanonicalizer- Throws:
MarshalException
-
getParamsNSURI
-
transform
- Throws:
TransformException
-