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 Transformprivate static final org.slf4j.Loggerprotected Documentprotected TransformParameterSpecprotected Element -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AlgorithmParameterSpecvoidinit(XMLStructure parent, XMLCryptoContext context) final booleanisFeatureSupported(String feature) voidmarshalParams(XMLStructure parent, XMLCryptoContext context) transform(Data data, XMLCryptoContext xc) transform(Data data, XMLCryptoContext xc, OutputStream os) private DatatransformIt(Data data, XMLCryptoContext xc, OutputStream os) Methods inherited from class 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:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
marshalParams
- Specified by:
marshalParamsin classTransformService- Throws:
MarshalException
-
transform
- Throws:
TransformException
-
transform
- Throws:
TransformException
-
transformIt
- Throws:
TransformException
-
isFeatureSupported
-