[IOT-2930] Device Config Resources 87/24287/5
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Mon, 5 Mar 2018 21:51:43 +0000 (13:51 -0800)
committerAleksey Volkov <a.volkov@samsung.com>
Fri, 9 Mar 2018 11:18:51 +0000 (11:18 +0000)
commitd45b8e450159bbf213c3f70a7a41db899592e3a9
treef8e72a5c7cbc8e00f53de3314734bc7bf2d1c7c9
parentf1edea79264ebb15953469886cbae8752901c87c
[IOT-2930] Device Config Resources

Adds functions to determine if a request is for a DCR; denies
requests for NCRs outside of RFNOP.

Note: the SRMIsSecurityVirtualResourceURI() function is not new, but
moved from secureresourcemanager.h to srmutility.h as it is used in
more than one SRM source file now.

Change-Id: I98c707fc6dcf46e903f6adf1c0485d4484f7a1a9
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
resource/csdk/security/include/internal/secureresourcemanager.h
resource/csdk/security/include/srmutility.h
resource/csdk/security/src/policyengine.c
resource/csdk/security/src/secureresourcemanager.c
resource/csdk/security/src/srmutility.c
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocstack.c