Module tor_rtcompat::tls

source ·
Expand description

Traits used to describe TLS connections and objects that can create them.

Structs§

  • NativeTlsProvider(native-tls or rustls) and (async-std or tokio) and native-tls and (tokio or async-std)
    A TlsProvider that uses native_tls.
  • RustlsProvider(native-tls or rustls) and (async-std or tokio) and rustls and (tokio or async-std)
    A TlsProvider that uses rustls.

Traits§

  • An object with a peer certificate: typically a TLS connection.
  • An object that knows how to wrap a TCP connection (where the type of said TCP connection is S) with TLS.