11.12.3.4.17. Function iot_agent_get_keystore_by_id

11.12.3.4.17.1. Function Documentation

iot_agent_status_t iot_agent_get_keystore_by_id(const iot_agent_context_t *ctx, const uint32_t id, iot_agent_keystore_t **keystore)

Get a reference to a keystore based on its identifier.

Return Value
  • IOT_STATUS_SUCCESS: A keystore with the id was found in the agent’s context and a pointer to it is returned in keystore.