Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
In the XML Signature component you can define transform methods which are applied to the XML document before the signature is calculated (see configuration option "transformMethods" in the XML Signer). The definition of these transform methods is done either via POs in the java DSL or via beans in the Spring XML a list of such transformations.
We want to offer also the possiblity that you can specify the transformations via the header "CamelXmlSignatureTransformMethods". The header value shall contain a comma separated list of transformation algorithms. The header approach will not allow parameters for the transformation methods. However the header approach is more simpler then the approach via POs or beans.
The header overwrites the configuration option "transformMethods".
Example for Header Value:
"http://www.w3.org/2000/09/xmldsig#enveloped-signature,http://www.w3.org/TR/2001/REC-xml-c14n-20010315"