SOAP signature plugin for SUDS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
SignatureMethods.py
__init__.py
libxml2_wrapper.py
plugin.py
xmlsec_wrapper.py

README.md

SOAP signature plugin for SUDS

Flattr Button

Usage

Just include an instance of SudsSigner.plugin.SignerPlugin in the plugins list passed to the suds.client.Client constructor. In most cases (RSA or DSA key in PEM format without password), only one parameter needs to be given; the name of the file containing the private key and the certificate. In case of password protected keys, the password can be supplied either as a string using the pwd parameter, or a callback and an optional context using the pwdCallback and pwdCallbackCtx parameters, respectively.

License

The plugin is licensed under MIT license.

Dependencies

  • Python 2.x (tested on 2.7)
  • libxml2 and Python bindings (Debian/Ubuntu package: python-libxml2)
  • SUDS 0.4 (Debian/Ubuntu package: python-suds)
  • xmlsec library and development files (Debian/Ubuntu package: libxmlsec1-dev)
  • PyXMLSec with addIDs patch (https://github.com/dnet/pyxmlsec)
  • pyOpenSSL (Debian/Ubuntu package: python-openssl)
  • LXML (Debian/Ubuntu package: python-lxml)