Debian Codegraph @

crt/s2n/bindings/rust/standard/tls-harness/src/cohort/mod.rs

raw symbols SCIP
1 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 // SPDX-License-Identifier: Apache-2.0
3
4 //! This module contains `TlsConnection` impls for various implementations of the
5 //! TLS protocol.
6 //!
7 //! The main config and connection items are brought into the top level namespace
8 //! so that they can be accessed as `cohort::OpenSslConnection` or `cohort::S2NConnection`.
9 //! Modules are also public so that utility structs can be accessed, like
10 //! `cohort::s2n_tls::SessionTicketStorage`.
11
12 pub mod openssl;
13 pub mod rustls;
14 pub mod s2n_tls;
15
16 // NOTE: BoringSSL is disabled on macOS to avoid symbol collisions with
17 // OpenSSL; see https://github.com/aws/s2n-tls/pull/5659 for details.
18 #[cfg(all(feature = "boringssl", not(target_os = "macos")))]
19 pub mod boringssl;
20
21 pub use openssl::{OpenSslConfig, OpenSslConnection};
22 pub use rustls::{RustlsConfig, RustlsConnection};
23 pub use s2n_tls::{S2NConfig, S2NConnection};
24
25 #[cfg(all(feature = "boringssl", not(target_os = "macos")))]
26 pub use boringssl::{BoringSslConfig, BoringSslConnection};