Enum thrussh_keys::key::KeyPair[][src]

pub enum KeyPair {
    Ed25519(SecretKey),
}
Expand description

Public key exchange algorithms.

Variants

Ed25519(SecretKey)

Implementations

Copy the public key of this algorithm.

Name of this key algorithm.

Generate a key pair.

Sign a slice using this algorithm.

Trait Implementations

Formats the value using the given formatter. Read more

Create the base64 part of the public key blob.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.