[dev] Basic questions on IoTivity security

2016-11-29 Thread Prakash Karthikeyan
Hi Max, With my experience in working with IoTivity, the secured flag is not going to change anything in maximum general server/client examples provided. You can find these general examples in /out/../../resource/examples 1. The secured flag is meant to create a resource with options to communic

[dev] Basic questions on IoTivity security

2016-11-29 Thread Thiago Macieira
On ter?a-feira, 29 de novembro de 2016 18:01:48 PST Max Kholmyansky wrote: > Hi, > > 2 basic questions: > > 1. What's the exact difference between SECURED=1 and SECURED=0 compiled > library versions? > Is "1" a superset of "0"? Implementing a different behavior? What exactly > "0" cannot do? SE

[dev] Basic questions on IoTivity security

2016-11-29 Thread Max Kholmyansky
Hi, 2 basic questions: 1. What's the exact difference between SECURED=1 and SECURED=0 compiled library versions? Is "1" a superset of "0"? Implementing a different behavior? What exactly "0" cannot do? 2. If a server resource is created as "secure" (with OC_SECURE flag): I understand it means t