From 06d6d80f8c92ef1d3bd7c00c919e10a411183cb3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 5 Oct 2025 16:51:15 -0700 Subject: fixes #2173 New TLS cert API - replaces the properties for CN and ALTNAMES. This will replace the NNG_OPT_TLS_PEER_ALTNAMES and NNG_OPT_TLS_PEER_CN properties, and gives a bit more access to the certificate, as well as direct access to the raw DER form, which should allow use in other APIs. --- docs/man/nng_ws.7.adoc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'docs/man/nng_ws.7.adoc') diff --git a/docs/man/nng_ws.7.adoc b/docs/man/nng_ws.7.adoc index 49783920..f7034987 100644 --- a/docs/man/nng_ws.7.adoc +++ b/docs/man/nng_ws.7.adoc @@ -159,11 +159,6 @@ May return incorrect results if peer authentication is disabled. (string) This read-only option returns the common name of the peer certificate. May return incorrect results if peer authentication is disabled. -`NNG_OPT_TLS_PEER_ALT_NAMES`:: -(string list) returns string list with the subject alternative names of the -peer certificate. May return incorrect results if peer authentication -is disabled. - // We should also look at a hook mechanism for listeners. Probably this could // look like NNG_OPT_WS_LISTEN_HOOK_FUNC which would take a function pointer // along the lines of int hook(void *, char *req_headers, char **res_headers), -- cgit v1.2.3-70-g09d2