public final class DOMCanonicalXMLC14N11Method extends ApacheCanonicalizer
Modifier and Type | Field and Description |
---|---|
static String |
C14N_11 |
static String |
C14N_11_WITH_COMMENTS |
apacheCanonicalizer, inclusiveNamespaces, ownerDoc, params, transformElem
Constructor and Description |
---|
DOMCanonicalXMLC14N11Method() |
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 static final String C14N_11
public static final String C14N_11_WITH_COMMENTS
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.