![]() |
nRF Connect SDK API 3.4.99
|
| int modem_key_mgmt_certexpiry | ( | nrf_sec_tag_t | sec_tag, |
| enum modem_key_mgmt_cred_type | cred_type, | ||
| time_t * | expiry ) |
#include <include/modem/modem_key_mgmt.h>
Read the expiry time of a certificate from persistent storage.
| [in] | sec_tag | The security tag of the credential. |
| [in] | cred_type | The credential type. |
| [out] | expiry | Pointer to store the expiry time. |
| 0 | On success. |
| -EINVAL | Invalid parameters. |
| -ENOENT | No credential associated with the given sec_tag and cred_type. |