Trait osshkeys::keys::Key

source ·
pub trait Key {
    // Required methods
    fn size(&self) -> usize;
    fn keyname(&self) -> &'static str;
    fn short_keyname(&self) -> &'static str;
}
Expand description

The basic trait of a key

Required Methods§

source

fn size(&self) -> usize

The size in bits of the key

source

fn keyname(&self) -> &'static str

The key name of the key

source

fn short_keyname(&self) -> &'static str

The short key name of the key

Implementors§