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 classRelationship Transform parameter specification class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(TransformParameterSpec params) voidinit(XMLStructure parent, XMLCryptoContext context) booleanisFeatureSupported(String feature) voidmarshalParams(XMLStructure parent, XMLCryptoContext context) static voidRegister 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:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException - Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
marshalParams
- Specified by:
marshalParamsin 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
-