FW: [xmlsec] xmlsec-mscrypto code review

Jan-Olof Andersson jan-olof.andersson@blcc.biz
Wed, 24 Sep 2003 11:48:12 -0400


Dear Aleksey,

I replied the last message last time. I resend it with the correct original
message.

when I define the xpath as a /../../ standard, what tag is it be looking for
in order to work properly?

Best regards

Jan-Olof

-----Original Message-----
From: Aleksey Sanin [mailto:aleksey@aleksey.com]
Sent: den 23 september 2003 11:26
To: jan-olof.andersson@blcc.biz
Cc: xmlsec@aleksey.com
Subject: Re: FW: [xmlsec] xmlsec-mscrypto code review


First of all, I guess you are asking about xmlsec command line utility :)
By default, xmlsec processes the first <dsig:Signature/> or
<enc:EncryptedData/>
node it finds in the input document. But you can override this by using
following options:

    > ./xmlsec1 help-sign | less
     ...
     --node-id <id>
       set the operation start point to the node with given <id>
     --node-name [<namespace-uri>:]<name>
       set the operation start point to the first node
       with given <name> and <namespace> URI
     --node-xpath <expr>
       set the operation start point to the first node
       selected by the specified XPath expression
    ...

Aleksey


>It always seems to sign the first signature it finds, into the LOCALDATA...
>
>