Trait tor_rtcompat::CertifiedConn[][src]

pub trait CertifiedConn {
    fn peer_certificate(&self) -> IoResult<Option<Vec<u8>>>;
}
Expand description

An object with a peer certificate: typically a TLS connection.

Required methods

Try to return the (DER-encoded) peer certificate for this connection, if any.

Implementors