11.12.3.4.48. Function iot_agent_utils_get_certificate_common_name¶
Defined in File nxp_iot_agent_utils.h
11.12.3.4.48.1. Function Documentation¶
-
iot_agent_status_t
iot_agent_utils_get_certificate_common_name
(iot_agent_context_t *ctx, const nxp_iot_ServiceDescriptor *service_descriptor, char *common_name, size_t max_size)¶ Gets the common name from the client certificte.
- Parameters
[in] ctx
: Context for the iot_agent[in] service_descriptor
: Descriptor with service data[inout] common_name
: Common name string[in] max_size
: Maximum size
- Return Value
IOT_AGENT_SUCCESS
: upon successIOT_AGENT_FAILURE
: upon failure