Struct git2::cert::Cert [] [src]

pub struct Cert<'a> { /* fields omitted */ }

A certificate for a remote connection, viewable as one of CertHostkey or CertX509 currently.

Methods

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

[src]

Attempt to view this certificate as an SSH hostkey.

Returns None if this is not actually an SSH hostkey.

[src]

Attempt to view this certificate as an X.509 certificate.

Returns None if this is not actually an X.509 certificate.