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 AlgorithmParameterSpec
getParameterSpec()
void
init(XMLStructure parent, XMLCryptoContext context)
boolean
isFeatureSupported(String feature)
void
marshalParams(XMLStructure parent, XMLCryptoContext context)
Data
transform(Data data, XMLCryptoContext xc)
Data
transform(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:
init
in classTransformService
- Throws:
InvalidAlgorithmParameterException
-
marshalParams
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
- Specified by:
marshalParams
in 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)
-
-