Struct ssh2::PublicKey [−][src]
pub struct PublicKey<'agent> { /* fields omitted */ }A public key which is extracted from an SSH agent.
Methods
impl<'agent> PublicKey<'agent>[src]
impl<'agent> PublicKey<'agent>pub fn blob(&self) -> &[u8][src]
pub fn blob(&self) -> &[u8]Return the data of this public key.
pub fn comment(&self) -> &str[src]
pub fn comment(&self) -> &strReturns the comment in a printable format