11.12.3.4.49. Function iot_agent_utils_get_edgelock2go_certificate_id

11.12.3.4.49.1. Function Documentation

iot_agent_status_t iot_agent_utils_get_edgelock2go_certificate_id(sss_key_store_t *keystore, uint32_t *object_id)

Checks whether a keystore contains the object with the defined certificate 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 certificate, otherwise the object id of the RSA certificate.

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