Class RelationshipTransformService
java.lang.Object
javax.xml.crypto.dsig.TransformService
org.apache.poi.poifs.crypt.dsig.services.RelationshipTransformService
- All Implemented Interfaces:
AlgorithmMethod
,Transform
,XMLStructure
JSR105 implementation of the RelationshipTransform transformation.
Specs: http://openiso.org/Ecma/376/Part2/12.2.4#26
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Relationship Transform parameter specification class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(TransformParameterSpec params) void
init
(XMLStructure parent, XMLCryptoContext context) boolean
isFeatureSupported
(String feature) void
marshalParams
(XMLStructure parent, XMLCryptoContext context) static void
Register the provider for this TransformServicetransform
(Data data, XMLCryptoContext context) The relationships transform takes the XML document from the Relationships part and converts it to another XML document.transform
(Data data, XMLCryptoContext context, OutputStream os) Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
-
Field Details
-
TRANSFORM_URI
- See Also:
-
-
Constructor Details
-
RelationshipTransformService
public RelationshipTransformService()
-
-
Method Details
-
registerDsigProvider
public static void registerDsigProvider()Register the provider for this TransformService- See Also:
-
init
- Specified by:
init
in classTransformService
- Throws:
InvalidAlgorithmParameterException
-
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
-
getParameterSpec
-
transform
The relationships transform takes the XML document from the Relationships part and converts it to another XML document. -
transform
public Data transform(Data data, XMLCryptoContext context, OutputStream os) throws TransformException - Throws:
TransformException
-
isFeatureSupported
-