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, transformgetAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProviderpublic void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException
TransformServiceTransformService 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 TransformServiceparams - 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
TransformServiceTransformService with the specified
parameters and document context.init in class ApacheCanonicalizerparent - 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
TransformServicemarshalParams in class ApacheCanonicalizerparent - 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
Transformdata - 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–2023 The Apache Software Foundation. All rights reserved.