[xmlsec] Re: Multiple transforms
Aleksey Sanin
aleksey at aleksey.com
Tue Dec 14 07:32:47 PST 2004
Hm... Are you sure that you want to do enveloped transform (XML->XML)
*after* c14n (XML->binary)? And you did not say what kind of problems
you have with two transforms.
Emailing me directly means that your email has a very good chance
to end up in my Junk folder. This one I digged out of Junk. But I can
not promise that next one would be lucky too.
Aleksey
Gareth Klose wrote:
> Hello,
>
> I've got to have two transforms in an XML Dsig, rather than one.
>
> I can apply one or other of these, but never both - presumably because I
> have to create a TransformChain - but the documentation is very sparse
> on this.
>
> Sorry to email you direct, but what am I missing?
>
> Thanks
>
> Gareth
>
> ==
>
> /* add c14n transform */
> if(xmlSecTmplReferenceAddTransform(refNode,
> xmlSecTransformExclC14NId) == NULL) {
> fprintf(stderr, "Error: failed to add c14n transform to
> reference\n");
> goto done;
> }
>
> /* add enveloped transform */
> if(xmlSecTmplReferenceAddTransform(refNode,
> xmlSecTransformEnvelopedId) == NULL) {
> fprintf(stderr, "Error: failed to add enveloped transform to
> reference\n");
> goto done;
> }
>
> ==
>
>
More information about the xmlsec
mailing list