Expand description
§TLS Transport Layer
This file is part of the Network Protocol project.
It defines the TLS transport layer for secure network communication, particularly for external untrusted connections.
The TLS transport layer provides a secure channel for communication using industry-standard TLS protocol, ensuring confidentiality, integrity, and authentication of the data transmitted.
§Responsibilities
- Establish secure TLS connections
- Handle TLS certificates and verification
- Provide secure framed transport for higher protocol layers
- Compatible with existing packet codec infrastructure
Structs§
- TlsClient
Config - TLS Client Configuration
- TlsServer
Config - TLS server configuration
Enums§
- TlsVersion
- TLS protocol version
Functions§
- connect
- Connect to a TLS server
- start_
server - Start a TLS server on the given address