nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
nRF91 Modem Key Management

Enumerations

enum  modem_key_mgmt_cred_type {
  MODEM_KEY_MGMT_CRED_TYPE_CA_CHAIN , MODEM_KEY_MGMT_CRED_TYPE_PUBLIC_CERT , MODEM_KEY_MGMT_CRED_TYPE_PRIVATE_CERT , MODEM_KEY_MGMT_CRED_TYPE_PSK ,
  MODEM_KEY_MGMT_CRED_TYPE_IDENTITY
}
 Credential types. More...
 

Functions

int modem_key_mgmt_write (nrf_sec_tag_t sec_tag, enum modem_key_mgmt_cred_type cred_type, const void *buf, size_t len)
 Write or update a credential in persistent storage.
 
int modem_key_mgmt_delete (nrf_sec_tag_t sec_tag, enum modem_key_mgmt_cred_type cred_type)
 Delete a credential from persistent storage.
 
int modem_key_mgmt_read (nrf_sec_tag_t sec_tag, enum modem_key_mgmt_cred_type cred_type, void *buf, size_t *len)
 Read a credential from persistent storage.
 
int modem_key_mgmt_cmp (nrf_sec_tag_t sec_tag, enum modem_key_mgmt_cred_type cred_type, const void *buf, size_t len)
 Compare a credential with a credential in persistent storage.
 
int modem_key_mgmt_exists (nrf_sec_tag_t sec_tag, enum modem_key_mgmt_cred_type cred_type, bool *exists)
 Check if a credential exists in persistent storage.
 

Detailed Description