Global Store#
Functions#
Initialize the Global TLS store configuration.
Set the Global TLS store configuration.
Get the Global TLS store configuration.
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.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | [in] | This API does not require any arguments. |
sl_wifi_init should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
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.
Type | Direction | Argument Name | Description |
---|---|---|---|
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_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
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.
Type | Direction | Argument Name | Description |
---|---|---|---|
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_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
sl_tls_clear_global_ca_store#
sl_status_t sl_tls_clear_global_ca_store (void )
Clear the Global TLS store configuration.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | [in] | This API does not require any arguments. |
sl_wifi_init should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.