pub trait SyncKeyProvider: Send + Sync {
// Required method
fn cipher_for(&self, scope: &Scope) -> Arc<dyn PayloadCipher> ⓘ;
}Expand description
Supplies the PayloadCipher for a scope’s encryption audience. The daemon
holds one and asks for a cipher per op-scope, so a remote relay only ever
sees ciphertext under the right (personal / org) key.
Required Methods§
fn cipher_for(&self, scope: &Scope) -> Arc<dyn PayloadCipher> ⓘ
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".