openssl_ktls/lib.rs
1//! This crate provides KTLS compatible openssl SslStream implementation.
2//!
3//! We cannot use the openssl::ssl::SslStream directly here
4//! because its BIOs are not compatible with KTLS.
5//! The BIO blocks the ctrl messages that needs to be passed down to
6//! the next BIO layer.
7
8pub mod ffi;
9
10pub mod option;
11mod stream;
12pub use stream::SslStream;
13
14#[cfg(feature = "tokio")]
15pub mod tokio_stream;
16#[cfg(feature = "tokio")]
17pub type TokioSslStream = tokio_stream::SslStream;
18
19pub mod error;