Enum thrussh::key::Algorithm
[−]
[src]
pub enum Algorithm { // some variants omitted }
Public key exchange algorithms.
Methods
impl Algorithm
[src]
fn clone_public_key(&self) -> PublicKey
Copy the public key of this algorithm.
fn generate_keypair(t: Name, rng: &SecureRandom) -> Option<Self>
Generate a key pair.