Class ApacheTransform
- java.lang.Object
-
- javax.xml.crypto.dsig.TransformService
-
- org.apache.jcp.xml.dsig.internal.dom.ApacheTransform
-
- All Implemented Interfaces:
javax.xml.crypto.AlgorithmMethod
,javax.xml.crypto.dsig.Transform
,javax.xml.crypto.XMLStructure
- Direct Known Subclasses:
DOMBase64Transform
,DOMEnvelopedTransform
,DOMXPathFilter2Transform
,DOMXPathTransform
,DOMXSLTTransform
public abstract class ApacheTransform extends javax.xml.crypto.dsig.TransformService
This is a wrapper/glue class which invokes the Apache XML-Security Transform.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.Document
ownerDoc
protected javax.xml.crypto.dsig.spec.TransformParameterSpec
params
protected org.w3c.dom.Element
transformElem
-
Constructor Summary
Constructors Constructor Description ApacheTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.spec.AlgorithmParameterSpec
getParameterSpec()
void
init(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)
boolean
isFeatureSupported(java.lang.String feature)
void
marshalParams(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)
javax.xml.crypto.Data
transform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc)
javax.xml.crypto.Data
transform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc, java.io.OutputStream os)
-
-
-
Method Detail
-
getParameterSpec
public final java.security.spec.AlgorithmParameterSpec getParameterSpec()
-
init
public void init(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context) throws java.security.InvalidAlgorithmParameterException
- Specified by:
init
in classjavax.xml.crypto.dsig.TransformService
- Throws:
java.security.InvalidAlgorithmParameterException
-
marshalParams
public void marshalParams(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context) throws javax.xml.crypto.MarshalException
- Specified by:
marshalParams
in classjavax.xml.crypto.dsig.TransformService
- Throws:
javax.xml.crypto.MarshalException
-
transform
public javax.xml.crypto.Data transform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc) throws javax.xml.crypto.dsig.TransformException
- Throws:
javax.xml.crypto.dsig.TransformException
-
transform
public javax.xml.crypto.Data transform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc, java.io.OutputStream os) throws javax.xml.crypto.dsig.TransformException
- Throws:
javax.xml.crypto.dsig.TransformException
-
isFeatureSupported
public final boolean isFeatureSupported(java.lang.String feature)
-
-