11.12.3.4.50. Function iot_agent_utils_get_edgelock2go_key_id

11.12.3.4.50.1. Function Documentation

iot_agent_status_t iot_agent_utils_get_edgelock2go_key_id(sss_key_store_t *keystore, uint32_t *object_id)

Checks whether a keystore contains the object with the defined key to use for authenticating at the EdgeLock 2GO cloud service.

The keystore might contain keys using ECC and/or RSA. If available, it will return the object id of the ECC key, otherwise the object id of the RSA key.

When neither is found or in case of other issues with the keystore, the function does not return IOT_AGENT_SUCCESS.