You can add transforms when defining the "SecurePart" to be signed, e.g.:
String[] transforms = new String[2]; transforms[0] = "http://www.w3.org/2000/09/xmldsig#enveloped-signature"; transforms[1] = "http://www.w3.org/2001/10/xml-exc-c14n#"; securePart.setTransforms(transforms); Colm. On Mon, Feb 16, 2015 at 10:54 AM, tobias <tobias.w...@t-systems.com> wrote: > How can I do the transforms.addTransform(TRANSFORM_ENVELOPED_SIGNATURE); in > StAX mode? > > > > -- > View this message in context: > http://apache-xml-project.6118.n7.nabble.com/VOTE-Release-Apache-Santuario-XML-Security-for-Java-2-0-3-tp41648p41715.html > Sent from the Apache XML - Security - Dev mailing list archive at > Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com