Apply user space smack, step 1
[platform/core/connectivity/smartcard-service.git] / common / smartcard-service-gdbus.xml
1 <!--
2   org.tizen.SmartcardService
3 -->
4
5 <node>
6   <interface name="org.tizen.SmartcardService.SeService">
7     <!--
8       SeService
9     -->
10     <method name="SeService">
11       <arg type="a(y)" name="privilege" direction="in" />
12       <arg type="i" name="result" direction="out" />
13       <arg type="u" name="handle" direction="out" />
14       <arg type="a(us)" name="readers" direction="out" />
15     </method>
16
17     <!--
18       shutdown
19     -->
20     <method name="shutdown">
21       <arg type="a(y)" name="privilege" direction="in" />
22       <arg type="u" name="service_id" direction="in" />
23       <arg type="i" name="result" direction="out" />
24     </method>
25
26     <!--
27       ReaderInserted
28     -->
29     <signal name="ReaderInserted">
30       <arg type="u" name="reader_id" />
31       <arg type="s" name="reader_name" />
32     </signal>
33
34     <!--
35       ReaderRemoved
36     -->
37     <signal name="ReaderRemoved">
38       <arg type="u" name="reader_id" />
39       <arg type="s" name="reader_name" />
40     </signal>
41   </interface>
42
43   <interface name="org.tizen.SmartcardService.Reader">
44     <!--
45       openSession
46     -->
47     <method name="openSession">
48       <arg type="a(y)" name="privilege" direction="in" />
49       <arg type="u" name="service_id" direction="in" />
50       <arg type="u" name="reader_id" direction="in" />
51       <arg type="i" name="result" direction="out" />
52       <arg type="u" name="handle" direction="out" />
53     </method>
54   </interface>
55
56   <interface name="org.tizen.SmartcardService.Session">
57     <!--
58       getATR
59     -->
60     <method name="getATR">
61       <arg type="a(y)" name="privilege" direction="in" />
62       <arg type="u" name="service_id" direction="in" />
63       <arg type="u" name="session_id" direction="in" />
64       <arg type="i" name="result" direction="out" />
65       <arg type="a(y)" name="atr" direction="out" />
66     </method>
67     <!--
68       openChannel
69     -->
70     <method name="openChannel">
71       <arg type="a(y)" name="privilege" direction="in" />
72       <arg type="u" name="service_id" direction="in" />
73       <arg type="u" name="session_id" direction="in" />
74       <arg type="u" name="type" direction="in" />
75       <arg type="a(y)" name="aid" direction="in" />
76       <arg type="i" name="result" direction="out" />
77       <arg type="u" name="handle" direction="out" />
78       <arg type="a(y)" name="select_response" direction="out" />
79     </method>
80     <!--
81       closeSession
82     -->
83     <method name="closeSession">
84       <arg type="a(y)" name="privilege" direction="in" />
85       <arg type="u" name="service_id" direction="in" />
86       <arg type="u" name="session_id" direction="in" />
87       <arg type="i" name="result" direction="out" />
88     </method>
89   </interface>
90
91   <interface name="org.tizen.SmartcardService.Channel">
92     <!--
93       transmit
94     -->
95     <method name="transmit">
96       <arg type="a(y)" name="privilege" direction="in" />
97       <arg type="u" name="service_id" direction="in" />
98       <arg type="u" name="channel_id" direction="in" />
99       <arg type="a(y)" name="command" direction="in" />
100       <arg type="i" name="result" direction="out" />
101       <arg type="a(y)" name="response" direction="out" />
102     </method>
103     <!--
104       closeChannel
105     -->
106     <method name="closeChannel">
107       <arg type="a(y)" name="privilege" direction="in" />
108       <arg type="u" name="service_id" direction="in" />
109       <arg type="u" name="channel_id" direction="in" />
110       <arg type="i" name="result" direction="out" />
111     </method>
112   </interface>
113 </node>