11.12.3.4.26. Function iot_agent_keystore_file_existence

11.12.3.4.26.1. Function Documentation

iot_agent_status_t iot_agent_keystore_file_existence(const char *filename, bool forceCreation)

Checks existence of a file. If required it forces creation of file.

Parameters
  • [in] filename: Name of the file

  • [in] forceCreation: Switch to force creation of the file

Return Value
  • IOT_AGENT_SUCCESS: upon success

  • IOT_AGENT_FAILURE: upon failure