Skip to content

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

License

Notifications You must be signed in to change notification settings

octoenergy/xmldsig-client

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages