FW: [xmlsec] xmlsec-mscrypto code review

Aleksey Sanin aleksey at aleksey.com
Tue Sep 23 08:26:05 PDT 2003


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...
>  
>





More information about the xmlsec mailing list