nRF Connect SDK API 0.1.0
|
int modem_key_mgmt_exists | ( | nrf_sec_tag_t | sec_tag, |
enum modem_key_mgmt_cred_type | cred_type, | ||
bool * | exists | ||
) |
#include <include/modem/modem_key_mgmt.h>
Check if a credential exists in persistent storage.
[in] | sec_tag | The security tag to search for. |
[in] | cred_type | The credential type. |
[out] | exists | Whether the credential exists. Only valid if the operation is successful. |
0 | On success. |
-ENOBUFS | Internal buffer is too small. |
-EACCES | Access to credential not allowed. |