11.12.3.4.30. Function iot_agent_register_keystore

11.12.3.4.30.1. Function Documentation

iot_agent_status_t iot_agent_register_keystore(iot_agent_context_t *ctx, iot_agent_keystore_t *keystore)

Register a keystore endpoint.

Note that the ownership for the keystore is not transferred. The caller is responsible that the keystore is freed at the appropriate time.

It is not possible to register two endpoints with the same identifier.

Parameters
  • ctx: Context for the iot_agent.

  • [in] keystore: Keystore that is registered.

Return Value
  • IOT_AGENT_SUCCESS: Upon success