Skip to main content

Module methods

Module methods 

Source
Expand description

JSON-RPC method handlers.

Each submodule covers one interface group (plugin, hash, cipher, …). Handlers are plain async functions that take the daemon-owned [Confium] and the parsed params, returning a JSON result value or an [RpcError].

Methods that mirror C-FFI calls that are not yet wired in confium-core use the [pending_method!] macro below. As the core lands each interface, the matching handler becomes a thin adapter — no dispatch change is needed.

Modules§

aead
AEAD methods: aead_create, aead_encrypt_update, aead_decrypt_update, aead_finalize.
attributes
Attribute-based threshold predicate methods.
audit
Audit subscription methods.
cipher
Cipher methods: cipher_create, cipher_update, cipher_finalize.
composite
Composite signature verification methods.
hash
Hash methods: hash_create, hash_update, hash_finalize.
kdf
KDF methods: kdf_create, kdf_derive.
kem
KEM (Key Encapsulation Mechanism) methods.
keyfmt
Key format methods.
keystore
Keystore methods.
meta
Meta methods: version, shutdown.
plugin
Plugin lifecycle methods: plugin_load, plugin_unload, plugin_list.
registry
Registry methods.
rng
RNG methods: rng_create, rng_generate.
signature
Signature methods.
tc
Threshold computing (TC) methods.