Struct git2::cert::Cert [−][src]
pub struct Cert<'a> { /* fields omitted */ }Expand description
A certificate for a remote connection, viewable as one of CertHostkey or
CertX509 currently.
Implementations
impl<'a> Cert<'a>[src]
impl<'a> Cert<'a>[src]pub fn as_hostkey(&self) -> Option<&CertHostkey<'a>>[src]
pub fn as_hostkey(&self) -> Option<&CertHostkey<'a>>[src]Attempt to view this certificate as an SSH hostkey.
Returns None if this is not actually an SSH hostkey.