90f0f85485bd25e0be15b8754928847fba7ae3da
[platform/upstream/iotivity.git] / resource / csdk / stack / samples / linux / secure / oic_svr_db_client.json
1 {
2         "acl": 
3         {
4                 "aclist": 
5                 {
6                         "aces": 
7                         [
8                                 {
9                                         "subject": "*", 
10                                         "resources": 
11                                         [
12                                                 {"href": "/oic/res", "rt": "", "if": ""}, 
13                                                 {"href": "/oic/d", "rt": "", "if": ""}, 
14                                                 {"href": "/oic/p", "rt": "", "if": ""}, 
15                                                 {"href": "/oic/res/types/d", "rt": "", "if": ""}, 
16                                                 {"href": "/oic/ad", "rt": "", "if": ""}, 
17                                                 {"href": "/oic/sec/acl", "rt": "", "if": ""},
18                                                 {"href": "/oic/sec/amacl", "rt": "", "if": ""}
19                                         ], 
20                                         "permission": 2
21                                 }, 
22                                 {
23                                         "subject": "*", 
24                                         "resources": 
25                                         [
26                                                 {"href": "/oic/sec/doxm", "rt": "", "if": ""}, 
27                                                 {"href": "/oic/sec/pstat", "rt": "", "if": ""}
28                                         ], 
29                                         "permission": 2
30                                 }
31                         ]
32                 }, 
33                 "rownerid": "32323232-3232-3232-3232-323232323232"
34         }, 
35
36         "pstat": 
37         {
38                 "isop": true, 
39                 "deviceid": "32323232-3232-3232-3232-323232323232", 
40                 "cm": 2, 
41                 "tm": 0, 
42                 "om": 3, 
43                 "sm": [3], 
44                 "rownerid": "32323232-3232-3232-3232-323232323232"
45         }, 
46
47         "doxm": 
48         {
49                 "oxms": [0], 
50                 "oxmsel": 0, 
51                 "sct": 1, 
52                 "owned": true, 
53                 "didformat": 0, 
54                 "deviceid": "32323232-3232-3232-3232-323232323232", 
55                 "devownerid": "32323232-3232-3232-3232-323232323232", 
56                 "rownerid": "32323232-3232-3232-3232-323232323232"
57         },
58
59         "cred": 
60         [
61                 {
62                         "credid": 1,
63                         "subject": "MTExMTExMTExMTExMTExMQ==",
64                         "credtype": 1,
65                         "period": "20150630T060000/20990920T220000",
66                         "privatedata": "QUFBQUFBQUFBQUFBQUFBQQ==",
67       "ownrs" : ["MjIyMjIyMjIyMjIyMjIyMg=="]
68                 }
69         ]
70 }