Add CASetSecureEndpointUuid APIs 96/208896/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:48:07 +0000 (06:48 +0000)
commit3dfceffa3b95e18d8486d455ec5b0dae35ef0aa1
treea7c171d535e4294b3d1957f5ebbc49d0e14ff203
parent10ce0356e5811fedde53a2416777e5a838f626f6
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