![]() |
BSB Developer Docs
|
Custom TLS connection flow implementation for the Mongoose library. More...
Go to the source code of this file.
Functions | |
| bool | mongoose_tls_init (struct mg_connection *conn, const char *url, const TlsConfig *tls_config) |
| Initialise the TLS layer for the given Mongoose connection. | |
Custom TLS connection flow implementation for the Mongoose library.
This module replaces the implementation for the mg_tls_init function extending it with hardware crypto-based mTLS capability.
| bool mongoose_tls_init | ( | struct mg_connection * | conn, |
| const char * | url, | ||
| const TlsConfig * | tls_config ) |
Initialise the TLS layer for the given Mongoose connection.
| [in,out] | conn | pointer to the Mongoose connection to be acted upon |
| [in] | url | pointer to a zero-terminated string containing the remote server URL |
| [in] | tls_config | pointer to a TLS configuration structure |
true on success, false otherwise