Struct git2::cert::CertHostkey [] [src]

pub struct CertHostkey<'a> {
    // some fields omitted
}

Hostkey information taken from libssh2

Methods

impl<'a> CertHostkey<'a>
[src]

fn hash_md5(&self) -> Option<&[u8; 16]>

Returns the md5 hash of the hostkey, if available.

fn hash_sha1(&self) -> Option<&[u8; 20]>

Returns the SHA-1 hash of the hostkey, if available.