Expand description
Link-time registry of in-process threshold schemes.
Each TC scheme (FROST-ed25519, GG18-ECDSA-P256, a Pedersen DKG, …)
registers itself with [register_tc_scheme!]. The session layer
looks schemes up by name and dispatches lifecycle calls through the
TcScheme trait.
This registry is for in-process Rust schemes linked into the
same binary as confium-tc. Out-of-process plugins (loaded via
libloading) advertise the "tc" interface name through the core
plugin loader and are dispatched separately — see
confium-core::ffi::registry.
The registry name advertised for plugins is "tc" and covers both
tc-signature and tc-kem via the scheme name; max version 0.
Structs§
- Registered
Scheme - Wrapper so a
&'static dyn TcSchemecan be collected byinventory. - Round
Result - Outcome of one
SessionImpl::roundcall.
Enums§
- TcScheme
Kind - Broad category of a threshold scheme. Drives which lifecycle entry points apply (e.g. DKG produces a share on output; signing consumes a share on input).
Traits§
- Session
Impl - Per-session scheme state, driven round-by-round by the framework.
- TcScheme
- A registered threshold scheme.
Functions§
- find
- Look up a scheme by canonical name. Returns the first match — scheme
name collisions are a registration bug and surface here as
crate::error::Error::SchemeNotFound. - iter
- Iterator over every scheme registered at link time.