Skip to main content

net_wire/tls/
mod.rs

1//! Standalone allocation-free TLS record and handshake wire views.
2mod builder;
3mod error;
4pub(crate) mod extensions;
5mod handshake;
6mod hello;
7mod record;
8pub(crate) mod types;
9pub use builder::{ClientHelloBuilder, ServerHelloBuilder, TlsExtensionBuilder};
10pub use error::{TlsBuildError, TlsParseError};
11pub use extensions::{
12    AlpnProtocol, AlpnProtocolIter, AlpnProtocolList, CertificateCompressionAlgorithms,
13    ClientKeyShare, ClientPreSharedKey, ClientServerNameList, ClientSupportedVersions, Cookie,
14    EcPointFormats, HrrKeyShare, KeyShareEntry, KeyShareIter, PskBinderIter, PskIdentity,
15    PskIdentityIter, PskKeyExchangeModes, ServerKeyShare, ServerName, ServerNameIter,
16    ServerPreSharedKey, ServerSelectedAlpn, ServerSupportedVersion, SignatureAlgorithms,
17    SupportedGroups, TlsExtension, TlsExtensions,
18};
19pub use handshake::{TlsHandshake, TlsHandshakeBuilder};
20pub use hello::{ClientHello, HELLO_RETRY_REQUEST_RANDOM, ServerHello};
21pub use record::{TlsRecord, TlsRecordBuilder, TlsRecordMut};
22pub use types::{
23    TlsCertificateCompressionAlgorithm, TlsCipherSuite, TlsCompressionMethod, TlsContentType,
24    TlsExtensionType, TlsHandshakeType, TlsNamedGroup, TlsProtocolVersion, TlsPskKeyExchangeMode,
25    TlsServerNameType, TlsSignatureScheme,
26};