Are there command-line tools for XML digital signing?
I have found one here: http://www.codeproject.com/KB/security/xmldsiglic.aspx but it needs .NET Framework and i would prefer it to work without .NET
XmlSecTool from the Shibboleth project, https://wiki.shibboleth.net/confluence/display/SHIB2/XmlSecTool can sign and verify signatures on XML documents. It's written in Java, but there's a command line shell script that encapsulates it nicely.