Skip to main content

XML Digital Signature implementation for the Swarmauri SigningBase registry

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_signing_xmld Discord

Installation

uv

uv pip install swarmauri_signing_xmld

pip

pip install swarmauri_signing_xmld

Usage

from swarmauri_signing_xmld import XMLDSigner

signer = XMLDSigner()
xml_payload = """<note><to>Alice</to><from>Bob</from></note>""".encode()

signature = await signer.sign_bytes(
    key={
        "kind": "pem",
        "private_key": "/path/to/private_key.pem",
        "certificate": "/path/to/certificate.pem",
    },
    payload=xml_payload,
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_signing_xmld-0.11.0.dev1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_signing_xmld-0.11.0.dev1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_signing_xmld-0.11.0.dev1.tar.gz.

File metadata

  • Download URL: swarmauri_signing_xmld-0.11.0.dev1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_signing_xmld-0.11.0.dev1.tar.gz
Algorithm Hash digest
SHA256 b2cc6586986ca943c79ada256fdab9c6fd153db86e7a959c710ac3ce9a3d16a2
MD5 e252b37342d8ffcf4889c49709046c8e
BLAKE2b-256 56265fe80fbb747ff50d2bd9b518d12d72d4e5ce11fe3e069bfa1ee0e3c4144b

See more details on using hashes here.

File details

Details for the file swarmauri_signing_xmld-0.11.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_signing_xmld-0.11.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_signing_xmld-0.11.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 5677efae4cf8543ead028ea4a030d94634199378e7d484f164a8cfc7d17f849b
MD5 7879adf5334ab29a7512278c4da180a3
BLAKE2b-256 7eca73022c3d2059f94293548fb41f9f972dd44d4e6f01dc637d076cbb534eaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page