Struct ssh::public_key::CryptoSystem
[−]
[src]
pub struct CryptoSystem {
pub id: &'static str,
pub generate_key_pair: fn(_: Option<u32>) -> Box<KeyPair>,
pub import: fn(_: &mut Read) -> Result<Box<KeyPair>>,
pub read_public: fn(_: &mut Read) -> Result<Box<KeyPair>>,
}Fields
id: &'static str
generate_key_pair: fn(_: Option<u32>) -> Box<KeyPair>
import: fn(_: &mut Read) -> Result<Box<KeyPair>>
read_public: fn(_: &mut Read) -> Result<Box<KeyPair>>