Hi


I have a question about SVR DB sample in IoTivity classic.

There are sample codes & SVR DB in
"resource/csdk/stack/samples/linux/secure".



There are 2 samples (occlientbasicops, ocserverbasicops).

occlientbasicops uses *oic_svr_db_client_devowner.json* or
*oic_svr_db_client_nondevowner.json*

ocserverbasicops uses *oic_svr_db_server.json*.



network topology is as follows:

[image: image.png]




according to *oic_svr_db_server.json*, Server has already been onboarded by
*DevOwnerClient*.

(doxm.devowneruuid is 32323232-3232-3232-3232-323232323232)



The strange point in oic_svr_db_server.json is *rowneruuid* of
/oic/sec/doxm, /oic/sec/pstat, /oic/sec/acl2 are Server itself
(31313131-3131-3131-3131-313131313131).

In my understanding rowneruuid of them should be OBT (in case that DOTS,
CMS, AMS are implemented in the same  device).



5.4.2 of Security spec says:

The DOTS shall update the rowneruuid Property of the "/oic/sec/doxm" and
"/oic/sec/pstat" resources with the  DOTS resource owner identifier.

The DOTS shall update the rowneruuid Property of the "/oic/sec/cred"
resource with the CMS resource owner  identifier.

The DOTS shall update the rowneruuid Property of the "/oic/sec/acl2"
resource with the AMS resource owner  identifier



Is this correct SVR DB or not?



Thanks & BR 🙂



- Kevin


-- 
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Joo-Chul Kevin Lee, ETRI
161 Gajeong-dong, Yuseong-gu, daejon, 305-700, KOREA
E-mail: r...@etri.re.kr/cms.r...@gmail.com Tel: +82-42-860-1021
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10254): 
https://lists.iotivity.org/g/iotivity-dev/message/10254
Mute This Topic: https://lists.iotivity.org/mt/32743835/21656
Group Owner: iotivity-dev+ow...@lists.iotivity.org
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to