octoenergy / xmldsig-client

A command-line tool for sending XML messages with digital signatures.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XML Digital Signature client

This is a bare-bones command-line tool for signing XML according to the XML Digital Signature standard and sending it, via HTTP POST request, to a server.

Usage

Execute xmldsig-client and provide the XML to sign via Standard Input, e.g.

$ xmldsig-client --schema my_schema.xsd --cert cert.pem --key private.pem --url http://localhost/test < my_data.xml

The xmldsig-client tool requires --cert and --key arguments, which should be the certificate and private key in PEM format. It also accepts:

  • --schema: Validate the provided XML against this schema
  • --url: POST the signed XML to this URL

About

A command-line tool for sending XML messages with digital signatures.

License:MIT License


Languages

Language:Python 100.0%