Class swarmauri_core.cipher_suites.ICipherSuite.ICipherSuite
swarmauri_core.cipher_suites.ICipherSuite.ICipherSuite
Bases: ABC
Resolution and policy contract for cipher suite descriptors.
suite_id
abstractmethod
suite_id()
Return the stable identifier for the suite.
Source code in swarmauri_core/cipher_suites/ICipherSuite.py
19 20 21 |
|
supports
abstractmethod
supports()
Return the allow-list of algorithms grouped by operation.
Source code in swarmauri_core/cipher_suites/ICipherSuite.py
23 24 25 |
|
default_alg
abstractmethod
default_alg(op, *, for_key=None)
Return the default algorithm for op
under the current policy.
Source code in swarmauri_core/cipher_suites/ICipherSuite.py
27 28 29 |
|
normalize
abstractmethod
normalize(
*, op, alg=None, key=None, params=None, dialect=None
)
Return a normalized descriptor for the requested operation.
Source code in swarmauri_core/cipher_suites/ICipherSuite.py
31 32 33 34 35 36 37 38 39 40 41 |
|
policy
abstractmethod
policy()
Return the effective policy toggles for the suite.
Source code in swarmauri_core/cipher_suites/ICipherSuite.py
43 44 45 |
|
features
abstractmethod
features()
Return descriptive metadata describing the suite capabilities.
Source code in swarmauri_core/cipher_suites/ICipherSuite.py
47 48 49 |
|
lint
lint()
Return linter warnings about misconfiguration or policy conflicts.
Source code in swarmauri_core/cipher_suites/ICipherSuite.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|