From 0aeed90d9a85eaf6f00e81c6f5f69a7ed9fec8c6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 20 Jul 2024 16:47:25 -0700 Subject: fixes #1846 Add support for TLS PSK This also adds an SP layer transport test for TLS, based on the TCP test but with some additions; this test does not cover all the edge cases for TLS, but it does at least show how to use it. --- docs/man/libnng.3.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/man/libnng.3.adoc') diff --git a/docs/man/libnng.3.adoc b/docs/man/libnng.3.adoc index 3e2900aa..8d006ba8 100644 --- a/docs/man/libnng.3.adoc +++ b/docs/man/libnng.3.adoc @@ -1,6 +1,6 @@ = libnng(3) // -// Copyright 2023 Staysail Systems, Inc. +// Copyright 2024 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // Copyright 2019 Devolutions // Copyright 2020 Dirac Research @@ -471,6 +471,7 @@ with TLS support. |xref:nng_tls_config_ca_chain.3tls.adoc[nng_tls_config_ca_chain()]|set certificate authority chain |xref:nng_tls_config_ca_file.3tls.adoc[nng_tls_config_ca_file()]|load certificate authority from file |xref:nng_tls_config_cert_key_file.3tls.adoc[nng_tls_config_cert_key_file()]|load own certificate and key from file +|xref:nng_tls_config_psk.3tls.adoc[nng_tls_config_psk()]|set pre-shared key and identity |xref:nng_tls_config_own_cert.3tls.adoc[nng_tls_config_own_cert()]|set own certificate and key |xref:nng_tls_config_free.3tls.adoc[nng_tls_config_free()]|free TLS configuration |xref:nng_tls_config_server_name.3tls.adoc[nng_tls_config_server_name()]|set remote server name -- cgit v1.2.3-70-g09d2