nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
slm_native_tls.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef SLM_NATIVE_TLS_
8#define SLM_NATIVE_TLS_
9
16#include <zephyr/net/tls_credentials.h>
17#include "slm_trap_macros.h"
18
31int slm_native_tls_store_credential(sec_tag_t sec_tag, uint16_t type, const void *data, size_t len);
32
40
49int slm_native_tls_load_credentials(sec_tag_t sec_tag);
50
60int slm_native_tls_delete_credential(sec_tag_t sec_tag, uint16_t type);
61
64#endif /* SLM_NATIVE_TLS_ */
int slm_native_tls_load_credentials(sec_tag_t sec_tag)
Load credentials from Zephyr settings storage to TLS credentials storage for Mbed TLS.
int slm_native_tls_delete_credential(sec_tag_t sec_tag, uint16_t type)
Delete credential from Zephyr settings storage.
int slm_native_tls_store_credential(sec_tag_t sec_tag, uint16_t type, const void *data, size_t len)
Store credential to Zephyr settings storage.
int slm_native_tls_list_credentials(void)
List credential sec_tags and types from Zephyr settings storage.