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
This is a wrapper/glue class which invokes the Apache XML-Security
Transform.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Transform
private static final org.slf4j.Logger
protected Document
protected TransformParameterSpec
protected Element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AlgorithmParameterSpec
void
init
(XMLStructure parent, XMLCryptoContext context) final boolean
isFeatureSupported
(String feature) void
marshalParams
(XMLStructure parent, XMLCryptoContext context) transform
(Data data, XMLCryptoContext xc) transform
(Data data, XMLCryptoContext xc, OutputStream os) private Data
transformIt
(Data data, XMLCryptoContext xc, OutputStream os) Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider, init
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
apacheTransform
-
ownerDoc
-
transformElem
-
params
-
-
Constructor Details
-
ApacheTransform
public ApacheTransform()
-
-
Method Details
-
getParameterSpec
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException - Specified by:
init
in classTransformService
- Throws:
InvalidAlgorithmParameterException
-
marshalParams
- Specified by:
marshalParams
in classTransformService
- Throws:
MarshalException
-
transform
- Throws:
TransformException
-
transform
- Throws:
TransformException
-
transformIt
- Throws:
TransformException
-
isFeatureSupported
-