Hello IoTivity Devs,

We've been working for some time to improve the documentation (and 
accessibility thereof) for OCF and IoTivity, and in particular, OCF Security.  
Progress is slow, and in the meantime, I wanted to point folks to some of the 
most relevant reading for people trying to just understand enough to make it 
work.

An "OCF Security Primer for Device Vendors" presentation I've created (in Kavi 
here<https://workspace.openconnectivity.org/apps/org/workgroup/security_wg/download.php/12365/latest>
 for those who are OCF members [sign up!], and also in process of being 
published to IoTivity web pages as part of doc effort) should explain the most 
relevant parts of the SVR configuration .json file (which is re-encoded to CBOR 
in the .dat file).  This is the best place to start.

The raml and json schema (here: 
https://github.com/openconnectivityfoundation/security-models/tree/ocf/1.0/spec)
 give more detail.

The OCF Security Spec has a chapter 13 "Security Resources" that describes all 
the Resources and Properties in detail.

The wiki (here: 
https://wiki.iotivity.org/security_resource_manager?s[]=json2cbor<https://wiki.iotivity.org/security_resource_manager?s%5b%5d=json2cbor>)
 talks about how to use the json2cbor tool (search for json2cbor in that page) 
to convert your .json to .dat.

And I *totally* agree that this is all too hard to find; we're working on it!

In the meantime, I hope this information is useful.

Thanks,
Nathan

_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to