Enum ssh_keys::PublicKey [] [src]

pub enum PublicKey {
    Rsa {
        exponent: Vec<u8>,
        modulus: Vec<u8>,
    },
    Ed25519([u8; 32]),
}

Public key enum

Variants

RSA key

Fields of Rsa

Ed25519 (eliptic curves) key

Trait Implementations

impl Debug for PublicKey
[src]

Formats the value using the given formatter.

impl Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PublicKey
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PublicKey
[src]