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.dev39.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.dev39-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swarmauri_signing_xmld-0.1.0.dev39.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.dev39.tar.gz
Algorithm Hash digest
SHA256 07f42b6d39359cfa7e7543f48b7ae2c85447d973768e3b83994d779c0a693558
MD5 5100d9ce9c0a8aeca2fb354f9658421c
BLAKE2b-256 c33a7c2d24eabe155574a3db778987e851dd57437267012747cf35dd2f824053

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_signing_xmld-0.1.0.dev39-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.dev39-py3-none-any.whl
Algorithm Hash digest
SHA256 44be39ae67dc23d4ba97ac1850eea3ee2fe2aa5350a08f823b7da9a8f9750de5
MD5 c59298dd427aafce393af9faf45f9580
BLAKE2b-256 26fcbbc61bcb130c27317291fabf51833d5f29908db379da9ed607596e3deec4

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