Skip to main content

IdentitySecrets

Trait IdentitySecrets 

Source
pub trait IdentitySecrets: Send + Sync {
    // Required method
    fn signing_seed(&self) -> [u8; 32];
}
Expand description

Local identity material a plugin may need (typically for ECIES decrypt of messages addressed to us).

Required Methods§

Source

fn signing_seed(&self) -> [u8; 32]

Raw bytes of our Ed25519 signing key. Plugins that need an X25519 secret derive it deterministically from this seed (see pim_crypto::e2e_decrypt_in_place, etc.).

Implementors§