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

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.DOMCanonicalXMLC14N11Method
All Implemented Interfaces:
AlgorithmMethod, Transform, XMLStructure

public final class DOMCanonicalXMLC14N11Method
extends ApacheCanonicalizer

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

Author:
Sean Mullan

Field Summary
static String C14N_11
           
static String C14N_11_WITH_COMMENTS
           
 
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
DOMCanonicalXMLC14N11Method()
           
 
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
 

Field Detail

C14N_11

public static final String C14N_11
See Also:
Constant Field Values

C14N_11_WITH_COMMENTS

public static final String C14N_11_WITH_COMMENTS
See Also:
Constant Field Values
Constructor Detail

DOMCanonicalXMLC14N11Method

public DOMCanonicalXMLC14N11Method()
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.