APIdia Launch Partner
Top Description Fields Constructors Methods
org.jcp.xml.dsig.internal.dom

public final Class DOMExcC14NMethod

extends ApacheCanonicalizer
Class Inheritance
Imports
java.security.InvalidAlgorithmParameterException, java.security.spec.AlgorithmParameterSpec, java.util.ArrayList, .List, javax.xml.crypto.Data, .MarshalException, .XMLCryptoContext, .XMLStructure, javax.xml.crypto.dsig.CanonicalizationMethod, .TransformException, javax.xml.crypto.dsig.spec.C14NMethodParameterSpec, .ExcC14NParameterSpec, .TransformParameterSpec, com.sun.org.apache.xml.internal.security.c14n.Canonicalizer, .InvalidCanonicalizerException, org.w3c.dom.Element

DOM-based implementation of CanonicalizationMethod for Exclusive Canonical XML algorithm (with or without comments). Uses Apache XML-Sec Canonicalizer.

Field Summary

Inherited from org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer:
canonicalizerinclusiveNamespacesownerDocparamstransformElem

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<String>
public String
public void
init(TransformParameterSpec params)

Implements abstract javax.xml.crypto.dsig.TransformService.init.

Initializes this TransformService with the specified parameters.

public void
init(XMLStructure parent, XMLCryptoContext context)

Overrides org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.init.

Initializes this TransformService with the specified parameters and document context.

public void
marshalParams(XMLStructure parent, XMLCryptoContext context)

Overrides org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.marshalParams.

Marshals the algorithm-specific parameters.

public Data
transform(Data data, XMLCryptoContext xc)

Implements javax.xml.crypto.dsig.Transform.transform.

Transforms the specified data using the underlying transform algorithm.

private void
Inherited from org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer:
canonicalizecanonicalizegetParameterSpecisFeatureSupportedtransform

Constructor Detail

DOMExcC14NMethodback to summary
public DOMExcC14NMethod()

Method Detail

getParameterSpecPrefixListback to summary
public List<String> getParameterSpecPrefixList(ExcC14NParameterSpec paramSpec)
Annotations
@SuppressWarnings:unchecked
getParamsNSURIback to summary
public String getParamsNSURI()
initback to summary
public void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException

Implements abstract javax.xml.crypto.dsig.TransformService.init.

Doc from javax.xml.crypto.dsig.TransformService.init.

Initializes this TransformService with the specified parameters.

If the parameters exist in XML form, the init(XMLStructure, XMLCryptoContext) method should be used to initialize the TransformService.

Annotations
@Override
Exceptions
InvalidAlgorithmParameterException:
if the specified parameters are invalid for this algorithm
initback to summary
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException

Overrides org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.init.

Doc from javax.xml.crypto.dsig.TransformService.init.

Initializes this TransformService with the specified parameters and document context.

Annotations
@Override
Exceptions
InvalidAlgorithmParameterException:
if the specified parameters are invalid for this algorithm
marshalParamsback to summary
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException

Overrides org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer.marshalParams.

Doc from javax.xml.crypto.dsig.TransformService.marshalParams.

Marshals the algorithm-specific parameters. If there are no parameters to be marshalled, this method returns without throwing an exception.

Annotations
@Override
Exceptions
MarshalException:
if the parameters cannot be marshalled
transformback to summary
public Data transform(Data data, XMLCryptoContext xc) throws TransformException

Implements javax.xml.crypto.dsig.Transform.transform.

Doc from javax.xml.crypto.dsig.Transform.transform.

Transforms the specified data using the underlying transform algorithm.

Annotations
@Override
Exceptions
TransformException:
if an error occurs while executing the transform
unmarshalParamsback to summary
private void unmarshalParams(Element paramsElem)