|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
Demonstrates TLS policy configuration for secure connections. More...

Go to the source code of this file.
Functions | |
| template<typename TlsPolicy > | |
| void | describe_policy (const std::string &label) |
| int | main () |
Demonstrates TLS policy configuration for secure connections.
Definition in file tls_policy_example.cpp.
| void describe_policy | ( | const std::string & | label | ) |
Definition at line 34 of file tls_policy_example.cpp.
Referenced by main().

| int main | ( | ) |
Definition at line 40 of file tls_policy_example.cpp.
References kcenon::network::policy::tls_enabled::ca_path, kcenon::network::policy::tls_enabled::cert_path, describe_policy(), kcenon::network::policy::no_tls::enabled, kcenon::network::policy::tls_enabled::enabled, kcenon::network::policy::tls_enabled::key_path, and kcenon::network::policy::tls_enabled::verify_peer.
