TlsCertExtractor

Trait TlsCertExtractor 

Source
pub trait TlsCertExtractor {
    // Required method
    fn extract_cert_info(&self) -> Option<CertInfo>;
}
Expand description

Trait for extracting TLS certificate information from streams

Required Methods§

Implementations on Foreign Types§

Source§

impl TlsCertExtractor for TcpStream

Source§

impl<S> TlsCertExtractor for TlsStream<S>
where S: AsyncRead + AsyncWrite + Unpin,

Available on crate feature tls only.

Implementors§