This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.3.2. See the documentation for v1.3.2 for the most up-to-date information.



nng_tls_engine - TLS engine implementation


#include <nng/supplemental/tls/tls.h>
#include <nng/supplemental/tls/engine.h>

typedef struct nng_tls_engine_s nng_tls_engine;


The TLS engine API is provided for developers wishing to implement their own implementation of TLS, or to adapt a 3rd party TLS implementation to the work with NNG.

Information about the existing TLS engine can be obtained from the functions nng_tls_engine_name(), nng_tls_engine_description(), and nng_tls_engine_fips_mode() functions.

At this time, there is no further documentation on implementing a TLS engine oneself, but existing source code may be a guide. The primary interfaces are located in the <nng/supplemental/tls/engine.h> header file.