[xmlsec] xmlsec executable and examples
aleksey at aleksey.com
Sun Jul 21 16:36:09 PDT 2002
I think you should start from reading XML Digital Siganture spec:
About 100+ tests are included into the xmlsec sources package. And all of
them are based on the xmlsec application. Check out
script and test xml signature templates and result files from the
the xmlsec/tests folder. Also try 'xmlsec help' to get quick help and
Marius Kjeldahl wrote:
> Since xmlsec comes with an executable, does anybody have any simple
> examples that show how it all fits together?
> Specifically, I'm trying to sign a small simple xml document, but
> xmlsec complains about missing signature sections.
> E.g., take an xml file (test.xml) containing:
> If I try:
> xmlsec sign test.xml
> I get the following:
> Error: failed to find Signature node
> Error: operation failed
> If I just try to add an empty Signature tag, it still does not work.
> I would like to fully understand how everything works together and
> what results to expect before I start digging into the API.
> Does anybody have any examples of signing/encrypting using the command
> line tool that comes with xmlsec?
More information about the xmlsec