XML Digital Signature implementation for the Swarmauri SigningBase registry
Project description
swarmauri_signing_xmld
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_signing_xmld-0.1.0.dev37.tar.gz.
File metadata
- Download URL: swarmauri_signing_xmld-0.1.0.dev37.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
223ca1dc813ed860a0aaea55392c41961a9473e4f61200b0cc9330413b643d16
|
|
| MD5 |
a0d4edefc8aadc5787fbcabb77b6dbee
|
|
| BLAKE2b-256 |
b02f9717cecf9b59a54e018bf592040bb5823b45d8452b0024d7fc42a354c6a2
|
File details
Details for the file swarmauri_signing_xmld-0.1.0.dev37-py3-none-any.whl.
File metadata
- Download URL: swarmauri_signing_xmld-0.1.0.dev37-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78017fa43cb2a2847909898b1f1a980541dcde50487a9b1315b9a92170f1d44c
|
|
| MD5 |
258d12c8c4ea769a62d0936817d96d0b
|
|
| BLAKE2b-256 |
11204d431df54f83fa2024683a06173029872755118109e51763eb0d144491f2
|