Global Store#

Functions#

sl_status_t

Initialize the Global TLS store configuration.

sl_status_t
sl_tls_set_global_ca_store(const sl_tls_store_configuration_t configuration)

Set the Global TLS store configuration.

sl_status_t
sl_tls_get_global_ca_store(sl_tls_store_configuration_t *configuration)

Get the Global TLS store configuration.

sl_status_t

Clear the Global TLS store configuration.

Function Documentation#

sl_tls_store_init#

sl_status_t sl_tls_store_init (void )

Initialize the Global TLS store configuration.

Parameters
TypeDirectionArgument NameDescription
void[in]

This API does not require any arguments.

  • sl_wifi_init should be called before this API.

Returns


sl_tls_set_global_ca_store#

sl_status_t sl_tls_set_global_ca_store (const sl_tls_store_configuration_t configuration)

Set the Global TLS store configuration.

Parameters
TypeDirectionArgument NameDescription
const sl_tls_store_configuration_t[in]configuration

sl_tls_store_configuration_t object that contains TLS certificate configuration.

  • sl_wifi_init should be called before this API.

Returns


sl_tls_get_global_ca_store#

sl_status_t sl_tls_get_global_ca_store (sl_tls_store_configuration_t * configuration)

Get the Global TLS store configuration.

Parameters
TypeDirectionArgument NameDescription
sl_tls_store_configuration_t *[in]configuration

Pointer to sl_tls_store_configuration_t object that can store TLS certificate configuration.

  • sl_wifi_init should be called before this API.

Returns


sl_tls_clear_global_ca_store#

sl_status_t sl_tls_clear_global_ca_store (void )

Clear the Global TLS store configuration.

Parameters
TypeDirectionArgument NameDescription
void[in]

This API does not require any arguments.

  • sl_wifi_init should be called before this API.

Returns