Hm... This is strange. xmlsec should not insert anything like this.
Can you check that you do not set any transforms in the xmlDSigCtx,
please? Can you try to reproduce the problem with xmlsec command
line utility and provide all the files?

Thanks,
Aleksey

[EMAIL PROTECTED] wrote:
Hello,

i am trying to sign an XML doucment using xmlsign.

I am supplying this to xmlsec (only Reference part shown):
<Reference URI="#Sign_This">
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue></DigestValue>
</Reference>
</SignedInfo>

And i am receiving something like this (only Reference part shown):
<Reference URI="#Sign_This">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>mX2N0kUluafzhOS9uq4uH2YchUoD0TrDqQFIQlRFA0Q=</DigestValue>
</Reference>
</SignedInfo>

How do i tell xmlsec _not_ to do any transforms and not to include the 
transforms tag?

Regards, Marc
_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to