org.apache.jcp.xml.dsig.internal.dom
Class DOMCanonicalXMLC14NMethod

java.lang.Object
  extended by javax.xml.crypto.dsig.TransformService
      extended by org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
          extended by org.apache.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod
All Implemented Interfaces:
AlgorithmMethod, Transform, XMLStructure

public final class DOMCanonicalXMLC14NMethod
extends ApacheCanonicalizer

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

Author:
Sean Mullan

Field Summary
 
Fields inherited from class org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
apacheCanonicalizer, inclusiveNamespaces, ownerDoc, params, transformElem
 
Fields inherited from interface javax.xml.crypto.dsig.Transform
BASE64, ENVELOPED, XPATH, XPATH2, XSLT
 
Constructor Summary
DOMCanonicalXMLC14NMethod()
           
 
Method Summary
 void init(TransformParameterSpec params)
           
 Data transform(Data data, XMLCryptoContext xc)
           
 
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
canonicalize, canonicalize, getParameterSpec, init, isFeatureSupported, marshalParams, transform
 
Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMCanonicalXMLC14NMethod

public DOMCanonicalXMLC14NMethod()
Method Detail

init

public void init(TransformParameterSpec params)
          throws InvalidAlgorithmParameterException
Specified by:
init in class TransformService
Throws:
InvalidAlgorithmParameterException

transform

public Data transform(Data data,
                      XMLCryptoContext xc)
               throws TransformException
Throws:
TransformException


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.