org.apache.jcp.xml.dsig.internal.dom
Class ApacheCanonicalizer
java.lang.Object
javax.xml.crypto.dsig.TransformService
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
apacheCanonicalizer
protected Canonicalizer apacheCanonicalizer
inclusiveNamespaces
protected String inclusiveNamespaces
params
protected C14NMethodParameterSpec params
ownerDoc
protected Document ownerDoc
transformElem
protected Element transformElem
ApacheCanonicalizer
public ApacheCanonicalizer()
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.