Module tor_rtcompat::tls
source · Expand description
Traits used to describe TLS connections and objects that can create them.
Structs§
- Native
TlsProvider ( native-tls
orrustls
) and (async-std
ortokio
) andnative-tls
and (tokio
orasync-std
)ATlsProvider
that usesnative_tls
. - Rustls
Provider ( native-tls
orrustls
) and (async-std
ortokio
) andrustls
and (tokio
orasync-std
)ATlsProvider
that usesrustls
.
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.