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.
pub trait IdentifyKey<Key: KeyId> {
// Required method
fn key_identifier(&self) -> Key;
}
Types implementing IdentifyKey are capable of knowing which cryptographic key is needed to encrypt/decrypt them.