Skip to main content

XML Digital Signature implementation for the Swarmauri SigningBase registry

Project description

Swarmauri logotype

swarmauri_signing_xmld

Status: experimental License: Apache-2.0 Python versions

swarmauri_signing_xmld packages an XML Digital Signature (XMLDSig) provider that registers with the Swarmauri SigningBase registry. The signer focuses on canonicalized XML payloads and produces detached signatures that can be embedded into workflow-specific envelopes.

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.1.0.dev40.tar.gz (5.6 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.1.0.dev40-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_signing_xmld-0.1.0.dev40.tar.gz.

File metadata

  • Download URL: swarmauri_signing_xmld-0.1.0.dev40.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.1.0.dev40.tar.gz
Algorithm Hash digest
SHA256 55c317d7b00db006c655f1c70d35120d6b95f4a5c7ad83349744c90b9b5c8f1b
MD5 419329a2e40b71851b34b1b2dd0417a2
BLAKE2b-256 365a7b932e9cc5f7dac7d0762eebd6fa177c2087eb466f96f94b21fb032e7c36

See more details on using hashes here.

File details

Details for the file swarmauri_signing_xmld-0.1.0.dev40-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_signing_xmld-0.1.0.dev40-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.1.0.dev40-py3-none-any.whl
Algorithm Hash digest
SHA256 d82a7d72cf65952f74a4fd233e949d24c5b2a9f9eb40ef69a37622fe168bec67
MD5 f40ce6eacebaad1c945382d61a9b4c43
BLAKE2b-256 de79fce503f46a6e3eb63e5f69de230c6b1099c7021e1893327cd84a8ccc0b46

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