Struct ssh2::PublicKey [] [src]

pub struct PublicKey<'agent> {
    // some fields omitted
}

A public key which is extracted from an SSH agent.

Methods

impl<'agent> PublicKey<'agent>
[src]

fn blob(&self) -> &[u8]

Return the data of this public key.

fn comment(&self) -> &str

Returns the comment in a printable format