Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
ssl.cppm File Reference

SSL/TLS partition for network_system module. More...

#include <atomic>
#include <chrono>
#include <filesystem>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>
#include <asio.hpp>
#include <asio/ssl.hpp>
import kcenon.network:core;
Include dependency graph for ssl.cppm:

Go to the source code of this file.

Classes

struct  kcenon::network::core::ssl_config
 SSL/TLS configuration structure. More...
 
class  kcenon::network::core::secure_messaging_client
 A secure client for establishing TLS/SSL encrypted TCP connections to a server. More...
 
class  kcenon::network::core::secure_messaging_server
 A secure server class that manages incoming TLS/SSL encrypted TCP connections, creating secure_session instances for each accepted socket. More...
 
class  kcenon::network::core::secure_messaging_udp_client
 A secure UDP client using DTLS (Datagram TLS) for encrypted communication. More...
 
class  kcenon::network::core::secure_messaging_udp_server
 A secure UDP server using DTLS (Datagram TLS) for encrypted communication. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::core
 

Enumerations

enum class  kcenon::network::core::ssl_protocol { kcenon::network::core::tls_1_2 , kcenon::network::core::tls_1_3 , kcenon::network::core::dtls_1_2 , kcenon::network::core::dtls_1_3 }
 SSL/TLS protocol version enumeration. More...
 
enum class  kcenon::network::core::ssl_verify_mode { kcenon::network::core::none , kcenon::network::core::peer , kcenon::network::core::fail_if_no_peer_cert , kcenon::network::core::client_once }
 SSL verification mode. More...
 

Detailed Description

SSL/TLS partition for network_system module.

This partition provides secure networking functionality using SSL/TLS for encrypted communication over TCP and DTLS for UDP.

Contents:

  • secure_messaging_client: SSL/TLS encrypted TCP client
  • secure_messaging_server: SSL/TLS encrypted TCP server
  • secure_messaging_udp_client: DTLS encrypted UDP client
  • secure_messaging_udp_server: DTLS encrypted UDP server
Note
This partition requires OpenSSL to be available.
See also
kcenon.network for the primary module interface
kcenon.network:tcp for base TCP functionality
kcenon.network:udp for base UDP functionality

Definition in file ssl.cppm.