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




_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to