Updated RI layer to register 'GetDtlsPSKCredentials' as callback
authorSachin Agrawal <sachin.agrawal@intel.com>
Mon, 26 Jan 2015 22:48:18 +0000 (14:48 -0800)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Tue, 27 Jan 2015 17:43:15 +0000 (17:43 +0000)
commitffcb25798aaff584162b3443e755ac1543da86e1
tree1b25f869d645c6a80c77d725a350fd863efb192b
parent894c319c1b1ecce29099c2b524239a51b200f681
Updated RI layer to register 'GetDtlsPSKCredentials' as callback

RI layer now uses CARegisterDTLSCredentialsHandler method to register
callback to retrieve credentials. Also, moved security sources and
headers in separate directory as discussed previously for better
integration with CA layer.

Change-Id: I23f481a087d8400be0402ea2854fe3601580dfb6
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/241
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Doug Hudson <douglas.hudson@intel.com>
Reviewed-by: Sashi Penta <sashi.kumar.penta@intel.com>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/csdk/SConscript
resource/csdk/security/include/internal/ocsecurityinternal.h [new file with mode: 0644]
resource/csdk/security/include/ocsecurity.h [new file with mode: 0644]
resource/csdk/security/include/ocsecurityconfig.h [new file with mode: 0644]
resource/csdk/security/src/ocsecurity.c [new file with mode: 0644]
resource/csdk/stack/include/ocsecurity.h [deleted file]
resource/csdk/stack/include/ocsecurityconfig.h [deleted file]
resource/csdk/stack/samples/linux/secure/SConscript
resource/csdk/stack/src/ocsecurity.c [deleted file]
resource/csdk/stack/src/ocstack.c