[IOT-830] Added remove API for all credentials on |credresource|
authorKyungsun Cho <goodsun.cho@samsung.com>
Tue, 1 Dec 2015 05:36:13 +0000 (14:36 +0900)
committerSachin Agrawal <sachin.agrawal@intel.com>
Tue, 1 Dec 2015 18:57:12 +0000 (18:57 +0000)
commita6a7b836bb42449db46080564b732a9bedccc839
tree447e1344964de2e1a6cc188d2f415194fbe68567
parent642688019256ec5ae4336c4b030c6ca49a7b74cd
[IOT-830] Added remove API for all credentials on |credresource|

added all credentials remove API for iotivity client with provisioning
feature. considering commercialization, iotivity client needs not only to
reset SVR data, e.g. doxm, acl and cred resources, but also to remove only
all credential data for its owned servers. for the former case legacy API(s)
could be supported but for the latter case additional API is needed.
the added API for this supports to remove all credentials and update
persistent storage in running iotivity client.
Jira-issue: https://jira.iotivity.org/browse/IOT-830

Change-Id: Icbfab415469bea72caf7a759f6437503bf76dafd
Signed-off-by: Kyungsun Cho <goodsun.cho@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4377
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/security/include/internal/credresource.h
resource/csdk/security/src/credresource.c