---
name: "nng_tls_engine"
section: "5"
platform: "linux"
package: "libnng-dev"
version: "1.10.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nng_tls_engine"
---

# nng\_tls\_engine(5)

TLS engine implementation

## NAME

nng\_tls\_engine - TLS engine implementation

## SYNOPSIS

```
#include <nng/supplemental/tls/tls.h>
#include <nng/supplemental/tls/engine.h>
typedef struct nng_tls_engine_s nng_tls_engine;
```

## DESCRIPTION

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.

## SEE ALSO

[nng\_tls\_engine\_description(3tls)](/nng_tls_engine_description/3tls.md), [nng\_tls\_engine\_fips\_mode(3tls)](/nng_tls_engine_fips_mode/3tls.md), [nng\_tls\_engine\_name(3tls)](/nng_tls_engine_name/3tls.md), [nng\_tls\_config(5)](/nng_tls_config/5.md), [nng(7)](/nng/7.md)
