org.apache.jcp.xml.dsig.internal.dom
Class DOMExcC14NMethod
java.lang.Object
javax.xml.crypto.dsig.TransformService
org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
org.apache.jcp.xml.dsig.internal.dom.DOMExcC14NMethod
- All Implemented Interfaces:
- AlgorithmMethod, Transform, XMLStructure
public final class DOMExcC14NMethod
- extends ApacheCanonicalizer
DOM-based implementation of CanonicalizationMethod for Exclusive
Canonical XML algorithm (with or without comments).
Uses Apache XML-Sec Canonicalizer.
- Author:
- Sean Mullan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMExcC14NMethod
public DOMExcC14NMethod()
init
public void init(TransformParameterSpec params)
throws InvalidAlgorithmParameterException
- Specified by:
init in class TransformService
- Throws:
InvalidAlgorithmParameterException
init
public void init(XMLStructure parent,
XMLCryptoContext context)
throws InvalidAlgorithmParameterException
- Overrides:
init in class ApacheCanonicalizer
- Throws:
InvalidAlgorithmParameterException
getParameterSpecPrefixList
public List<String> getParameterSpecPrefixList(ExcC14NParameterSpec paramSpec)
marshalParams
public void marshalParams(XMLStructure parent,
XMLCryptoContext context)
throws MarshalException
- Overrides:
marshalParams in class ApacheCanonicalizer
- Throws:
MarshalException
getParamsNSURI
public String getParamsNSURI()
transform
public Data transform(Data data,
XMLCryptoContext xc)
throws TransformException
- Throws:
TransformException
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.