nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ modem_key_mgmt_certexpiry()

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.

Parameters
[in]sec_tagThe security tag of the credential.
[in]cred_typeThe credential type.
[out]expiryPointer to store the expiry time.
Return values
0On success.
-EINVALInvalid parameters.
-ENOENTNo credential associated with the given sec_tag and cred_type.