Trait IdentifyKey

Source
pub trait IdentifyKey<Key: KeyId> {
    // Required method
    fn key_identifier(&self) -> Key;
}
Expand description

Types implementing IdentifyKey are capable of knowing which cryptographic key is needed to encrypt/decrypt them.

Required Methods§

Source

fn key_identifier(&self) -> Key

Implementors§