Normally I would do something like:
$ xmlsec1 --sign --privkey-pem MY_CERT_FILE.pem MY_TEMPLATE_FILE.xml
The above would spit out the signed xml string on the terminal screen.
I would like to do something like this though:
$ xmlsec1 --sign --privkey-pem MY_CERT_FILE.pem '<?xml version="1.0" encoding="UTF-8"?><Envelope><Data>Hello, World!</Data></Envelope>'
Obviously the above command does NOT work.
I am hoping for some sort of option flag before the xml input string which would allow me to accomplish just that.
I also asked this same question at the repo issue queue. Click here to see it.