Add CASetSecureEndpointUuid APIs 90/208890/1
authorJaehong Jo <jaehong.jo@samsung.com>
Tue, 11 Jun 2019 09:03:59 +0000 (18:03 +0900)
committerSudipto Bal <sudipto.bal@samsung.com>
Mon, 1 Jul 2019 06:26:38 +0000 (11:56 +0530)
commitfbfd73dfe3c0a2cba900bc4b4c29cabec7be3975
tree800d284d8291930981c96954a9c74005deb03105
parentd919583a1e1bd42ade7137140c92ec3db13c9c85
Add CASetSecureEndpointUuid APIs

In the tls connection, the subject name in the certificate is set to uuid.
So need this api to set the identity with doxm or device uuid.
Give the endpoint and uuid, it finds the peer and sets identity to uuid.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/522/commits/cb5bfdca63fd5919005e69988363f0d951aa75d9
(cherry picked from cb5bfdca63fd5919005e69988363f0d951aa75d9)

Change-Id: I61b701e2fb95b2af61894431ece9c164e68f9c9e
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
resource/csdk/connectivity/api/casecurityinterface.h
resource/csdk/connectivity/inc/ca_adapter_net_ssl.h
resource/csdk/connectivity/src/adapter_util/ca_adapter_net_ssl.c
resource/csdk/connectivity/src/caconnectivitymanager.c
resource/csdk/connectivity/test/ca_api_unittest.cpp