Module org.apache.santuario.xmlsec
Class ApacheTransform
- java.lang.Object
-
- javax.xml.crypto.dsig.TransformService
-
- org.apache.jcp.xml.dsig.internal.dom.ApacheTransform
-
- All Implemented Interfaces:
AlgorithmMethod,Transform,XMLStructure
- Direct Known Subclasses:
DOMBase64Transform,DOMEnvelopedTransform,DOMXPathFilter2Transform,DOMXPathTransform,DOMXSLTTransform
public abstract class ApacheTransform extends TransformService
This is a wrapper/glue class which invokes the Apache XML-Security Transform.
-
-
Constructor Summary
Constructors Constructor Description ApacheTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmParameterSpecgetParameterSpec()voidinit(XMLStructure parent, XMLCryptoContext context)booleanisFeatureSupported(String feature)voidmarshalParams(XMLStructure parent, XMLCryptoContext context)Datatransform(Data data, XMLCryptoContext xc)Datatransform(Data data, XMLCryptoContext xc, OutputStream os)-
Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider, init
-
-
-
-
Field Detail
-
ownerDoc
protected Document ownerDoc
-
transformElem
protected Element transformElem
-
params
protected TransformParameterSpec params
-
-
Method Detail
-
getParameterSpec
public final AlgorithmParameterSpec getParameterSpec()
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException
- Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
marshalParams
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
- Specified by:
marshalParamsin classTransformService- Throws:
MarshalException
-
transform
public Data transform(Data data, XMLCryptoContext xc) 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)
-
-