You should not get segfaults but rather an error very earlier in
the process. But to be honest with you, I never tried to sign
a document like this (probably I should thought because it's
a pretty good negative test).
Anyway, try to switch order and do enveloped transform before c14n.
What you have right now makes no sense at all.
Aleksey
Gareth Klose wrote:
I'm probably not sure to be honest... What I do know is that my output
has to have two transform lines, rather than one, to be accepted by the
receiving component.
<Transforms>
<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
/>
<Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
</Transforms>
Are you saying that you can just add multiple transforms? Because I've
been getting segfaults etc - but if c14 is creating binary, I guess that
could be the cause.
|