Module kvarn::encryption
source · Expand description
Encryption for incoming and outgoing traffic, implemented through streams.
Based on rustls
. encryption::Encryption
implements both AsyncRead
and AsyncWrite
to enable seamless integration with the tokio
runtime.
Most of the code is a subset of tokio-rustls
Enums§
- An encrypted stream.
- Generic encryption error.