Trait osshkeys::keys::Key[][src]

pub trait Key {
    fn size(&self) -> usize;
fn keyname(&self) -> &'static str; }

The basic trait of a key

Required methods

fn size(&self) -> usize[src]

The size in bits of the key

fn keyname(&self) -> &'static str[src]

The key name of the key

Loading content...

Implementors

impl Key for DsaKeyPair[src]

impl Key for DsaPublicKey[src]

impl Key for EcDsaKeyPair[src]

impl Key for EcDsaPublicKey[src]

impl Key for Ed25519KeyPair[src]

impl Key for Ed25519PublicKey[src]

impl Key for RsaKeyPair[src]

impl Key for RsaPublicKey[src]

impl Key for KeyPair[src]

impl Key for PublicKey[src]

Loading content...