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.TransformServiceThis is a wrapper/glue class which invokes the Apache XML-Security Transform.
-
-
Field Summary
Fields Modifier and Type Field Description private TransformapacheTransformprivate static org.slf4j.LoggerLOGprotected org.w3c.dom.DocumentownerDocprotected javax.xml.crypto.dsig.spec.TransformParameterSpecparamsprotected org.w3c.dom.ElementtransformElem
-
Constructor Summary
Constructors Constructor Description ApacheTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.spec.AlgorithmParameterSpecgetParameterSpec()voidinit(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)booleanisFeatureSupported(java.lang.String feature)voidmarshalParams(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)javax.xml.crypto.Datatransform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc)javax.xml.crypto.Datatransform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc, java.io.OutputStream os)private javax.xml.crypto.DatatransformIt(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext xc, java.io.OutputStream os)
-
-
-
Field Detail
-
LOG
private static final org.slf4j.Logger LOG
-
apacheTransform
private Transform apacheTransform
-
ownerDoc
protected org.w3c.dom.Document ownerDoc
-
transformElem
protected org.w3c.dom.Element transformElem
-
params
protected javax.xml.crypto.dsig.spec.TransformParameterSpec params
-
-
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:
initin 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:
marshalParamsin 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
-
transformIt
private javax.xml.crypto.Data transformIt(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)
-
-