[IOT-3276] Multiple CAs allowed 25/23325/15 1.3-rel
authorOleksii Beketov <ol.beketov@samsung.com>
Wed, 13 Mar 2019 11:21:44 +0000 (13:21 +0200)
committerOleksii Beketov <ol.beketov@samsung.com>
Wed, 13 Mar 2019 11:21:44 +0000 (13:21 +0200)
commit3b14423a65768a81c1f3be34c79d9b231e4963f5
treedd21afd31d1fb0320281f0ad72f3e2a6e922dca8
parent5a93b8ee1899fbce40d5f0f981d709f57f84fb12
[IOT-3276] Multiple CAs allowed

This patch unites reverted #22987 and CTT fix 23279.

PEM/DER casting removed,  allowing mbedtls to manage
certificate conversion by itself. Credresource loads
certificates that could be either PEM or DER encoded
to a linked list instead of pushing them to a buffer.

Change-Id: I6dd0d957721d59feaf70f3dd421bf65d7c02ef1d
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
16 files changed:
resource/c_common/experimental/byte_array.h
resource/csdk/connectivity/api/casecurityinterface.h
resource/csdk/connectivity/common/SConscript
resource/csdk/connectivity/common/inc/parsechain.h [new file with mode: 0644]
resource/csdk/connectivity/common/src/parsechain.c [new file with mode: 0644]
resource/csdk/connectivity/src/adapter_util/ca_adapter_net_ssl.c
resource/csdk/connectivity/test/ca_api_unittest.cpp
resource/csdk/connectivity/test/ssladapter_test.cpp
resource/csdk/security/include/internal/certhelpers.h
resource/csdk/security/include/internal/credresource.h
resource/csdk/security/src/certhelpers.c
resource/csdk/security/src/credresource.c
resource/csdk/security/src/pkix_interface.c
resource/csdk/security/src/rolesresource.c
resource/csdk/security/tool/svrdbeditor_src/svrdbeditorcommon.h
resource/csdk/security/tool/svrdbeditor_src/svrdbeditorcred.c