public final class DOMExcC14NMethod extends ApacheCanonicalizer
apacheCanonicalizer, inclusiveNamespaces, ownerDoc, params, transformElem
Constructor and Description |
---|
DOMExcC14NMethod() |
Modifier and Type | Method and Description |
---|---|
String |
getParamsNSURI() |
void |
init(TransformParameterSpec params)
Initializes this
TransformService with the specified
parameters. |
void |
init(XMLStructure parent,
XMLCryptoContext context)
Initializes this
TransformService with the specified
parameters and document context. |
void |
marshalParams(XMLStructure parent,
XMLCryptoContext context)
Marshals the algorithm-specific parameters.
|
Data |
transform(Data data,
XMLCryptoContext xc)
Transforms the specified data using the underlying transform algorithm.
|
canonicalize, canonicalize, getParameterSpec, isFeatureSupported, 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 void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException
TransformService
TransformService
with the specified
parameters and document context.init
in class ApacheCanonicalizer
parent
- a mechanism-specific structure containing the parent
structurecontext
- the XMLCryptoContext
containing
additional context (may be null
if not applicable)InvalidAlgorithmParameterException
- if the specified parameters
are invalid for this algorithmpublic void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
TransformService
marshalParams
in class ApacheCanonicalizer
parent
- a mechanism-specific structure containing the parent
node that the marshalled parameters should be appended tocontext
- the XMLCryptoContext
containing
additional context (may be null
if not applicable)MarshalException
- if the parameters cannot be marshalledpublic String getParamsNSURI()
public 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-2012 The Apache Software Foundation. All Rights Reserved.