Metadata-Version: 2.4
Name: swarmauri_cipher_suite_cades
Version: 0.2.0.dev3
Summary: CAdES signing cipher suite skeleton for Swarmauri
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: swarmauri,sdk,standards,cipher,suite,cades,cryptography,CAdES,CMS,ETSI EN 319 122,ETSI EN 319 132,RSA-PSS-SHA256,ECDSA-SHA256,EdDSA
Author: Jacob Stewart
Author-email: jacob@swarmauri.com
Requires-Python: >=3.10,<3.13
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Security :: Cryptography
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Dist: swarmauri_base
Requires-Dist: swarmauri_core
Description-Content-Type: text/markdown

![Swarmauri Logo](https://github.com/swarmauri/swarmauri-sdk/blob/master/assets/swarmauri.brand.theme.svg)

<p align="center">
    <a href="https://pypi.org/project/swarmauri_cipher_suite_cades/">
        <img src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_cades" alt="PyPI - Downloads"/></a>
    <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_cades/">
        <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_cades.svg"/></a>
    <a href="https://pypi.org/project/swarmauri_cipher_suite_cades/">
        <img src="https://img.shields.io/pypi/pyversions/swarmauri_cipher_suite_cades" alt="PyPI - Python Version"/></a>
    <a href="https://pypi.org/project/swarmauri_cipher_suite_cades/">
        <img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_cades" alt="PyPI - License"/></a>
    <a href="https://pypi.org/project/swarmauri_cipher_suite_cades/">
        <img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_cades?label=swarmauri_cipher_suite_cades&color=green" alt="PyPI - swarmauri_cipher_suite_cades"/></a>
</p>

---

# Swarmauri Cipher Cades

CAdES signing suite scaffolding with TSA-friendly parameters.

## Installation

### pip

```bash
pip install swarmauri_cipher_suite_cades
```

### Poetry

```bash
poetry add swarmauri_cipher_suite_cades
```

### uv

To add the dependency to a `pyproject.toml` managed by `uv`:

```bash
uv add swarmauri_cipher_suite_cades
```

Or install it into the active environment:

```bash
uv pip install swarmauri_cipher_suite_cades
```

## Usage

```python
from swarmauri_cipher_suite_cades import CadesCipherSuite

suite = CadesCipherSuite(name="demo-cades")

# Inspect the available operations and defaults
print(suite.features()["ops"].keys())

# Normalize an operation
descriptor = suite.normalize(op=list(suite.supports().keys())[0])
print(descriptor["alg"], descriptor["params"])
```

The suite returns normalized descriptors that include canonical algorithm names,
per-dialect mappings, and policy metadata so providers can focus on execution.

## Entry Point

The suite registers under the `swarmauri.cipher_suites` entry point as `CadesCipherSuite`.

## Contributing

If you want to contribute to swarmauri-sdk, read up on our
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
that will help you get started.

