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

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

public abstract class ApacheCanonicalizer
extends TransformService


Field Summary
protected  Canonicalizer apacheCanonicalizer
           
protected  String inclusiveNamespaces
           
protected  Document ownerDoc
           
protected  C14NMethodParameterSpec params
           
protected  Element transformElem
           
 
Fields inherited from interface javax.xml.crypto.dsig.Transform
BASE64, ENVELOPED, XPATH, XPATH2, XSLT
 
Constructor Summary
ApacheCanonicalizer()
           
 
Method Summary
 Data canonicalize(Data data, XMLCryptoContext xc)
           
 Data canonicalize(Data data, XMLCryptoContext xc, OutputStream os)
           
 AlgorithmParameterSpec getParameterSpec()
           
 void init(XMLStructure parent, XMLCryptoContext context)
           
 boolean isFeatureSupported(String feature)
           
 void marshalParams(XMLStructure parent, XMLCryptoContext context)
           
 Data transform(Data data, XMLCryptoContext xc, OutputStream os)
           
 
Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.crypto.dsig.Transform
transform
 

Field Detail

apacheCanonicalizer

protected Canonicalizer apacheCanonicalizer

inclusiveNamespaces

protected String inclusiveNamespaces

params

protected C14NMethodParameterSpec params

ownerDoc

protected Document ownerDoc

transformElem

protected Element transformElem
Constructor Detail

ApacheCanonicalizer

public ApacheCanonicalizer()
Method Detail

getParameterSpec

public final AlgorithmParameterSpec getParameterSpec()

init

public void init(XMLStructure parent,
                 XMLCryptoContext context)
          throws InvalidAlgorithmParameterException
Specified by:
init in class TransformService
Throws:
InvalidAlgorithmParameterException

marshalParams

public void marshalParams(XMLStructure parent,
                          XMLCryptoContext context)
                   throws MarshalException
Specified by:
marshalParams in class TransformService
Throws:
MarshalException

canonicalize

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

canonicalize

public Data canonicalize(Data data,
                         XMLCryptoContext xc,
                         OutputStream os)
                  throws TransformException
Throws:
TransformException

transform

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

isFeatureSupported

public final boolean isFeatureSupported(String feature)


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