public final class DOMCanonicalXMLC14NMethod extends ApacheCanonicalizer
apacheCanonicalizer, inclusiveNamespaces, ownerDoc, params, transformElem
Constructor and Description |
---|
DOMCanonicalXMLC14NMethod() |
Modifier and Type | Method and Description |
---|---|
void |
init(TransformParameterSpec params)
Initializes this
TransformService with the specified
parameters. |
Data |
transform(Data data,
XMLCryptoContext xc)
Transforms the specified data using the underlying transform algorithm.
|
canonicalize, canonicalize, getParameterSpec, init, isFeatureSupported, marshalParams, transform
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
public void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException
TransformService
TransformService
with the specified
parameters.
If the parameters exist in XML form, the
TransformService.init(XMLStructure, XMLCryptoContext)
method should be used to
initialize the TransformService
.
init
in class TransformService
params
- the algorithm parameters (may be null
if
not required or optional)InvalidAlgorithmParameterException
- if the specified parameters
are invalid for this algorithmpublic Data transform(Data data, XMLCryptoContext xc) throws TransformException
Transform
data
- the data to be transformedxc
- the XMLCryptoContext
containing
additional context (may be null
if not applicable)TransformException
- if an error occurs while executing the
transformCopyright © 2000–2017 The Apache Software Foundation. All rights reserved.