e98e9d08cddc26b92f14b28755150dcbb75f4b9c
[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="i" name="result" direction="out" />
12       <arg type="u" name="handle" direction="out" />
13       <arg type="a(us)" name="readers" direction="out" />
14     </method>
15
16     <!--
17       shutdown
18     -->
19     <method name="shutdown">
20       <arg type="u" name="service_id" direction="in" />
21       <arg type="i" name="result" direction="out" />
22     </method>
23
24     <!--
25       ReaderInserted
26     -->
27     <signal name="ReaderInserted">
28       <arg type="u" name="reader_id" />
29       <arg type="s" name="reader_name" />
30     </signal>
31
32     <!--
33       ReaderRemoved
34     -->
35     <signal name="ReaderRemoved">
36       <arg type="u" name="reader_id" />
37       <arg type="s" name="reader_name" />
38     </signal>
39   </interface>
40
41   <interface name="org.tizen.SmartcardService.Reader">
42     <!--
43       openSession
44     -->
45     <method name="openSession">
46       <arg type="u" name="service_id" direction="in" />
47       <arg type="u" name="reader_id" direction="in" />
48       <arg type="i" name="result" direction="out" />
49       <arg type="u" name="handle" direction="out" />
50     </method>
51   </interface>
52
53   <interface name="org.tizen.SmartcardService.Session">
54     <!--
55       getATR
56     -->
57     <method name="getATR">
58       <arg type="u" name="service_id" direction="in" />
59       <arg type="u" name="session_id" direction="in" />
60       <arg type="i" name="result" direction="out" />
61       <arg type="a(y)" name="atr" direction="out" />
62     </method>
63     <!--
64       openChannel
65     -->
66     <method name="openChannel">
67       <arg type="u" name="service_id" direction="in" />
68       <arg type="u" name="session_id" direction="in" />
69       <arg type="u" name="type" direction="in" />
70       <arg type="a(y)" name="aid" direction="in" />
71       <arg type="y" name="P2" direction="in" />
72       <arg type="i" name="result" direction="out" />
73       <arg type="u" name="handle" direction="out" />
74       <arg type="i" name="channel_number" direction="out" />
75       <arg type="a(y)" name="select_response" direction="out" />
76     </method>
77     <!--
78       closeSession
79     -->
80     <method name="closeSession">
81       <arg type="u" name="service_id" direction="in" />
82       <arg type="u" name="session_id" direction="in" />
83       <arg type="i" name="result" direction="out" />
84     </method>
85   </interface>
86
87   <interface name="org.tizen.SmartcardService.Channel">
88     <!--
89       transmit
90     -->
91     <method name="transmit">
92       <arg type="u" name="service_id" direction="in" />
93       <arg type="u" name="channel_id" direction="in" />
94       <arg type="a(y)" name="command" direction="in" />
95       <arg type="i" name="result" direction="out" />
96       <arg type="a(y)" name="response" direction="out" />
97     </method>
98     <!--
99       closeChannel
100     -->
101     <method name="closeChannel">
102       <arg type="u" name="service_id" direction="in" />
103       <arg type="u" name="channel_id" direction="in" />
104       <arg type="i" name="result" direction="out" />
105     </method>
106   </interface>
107 </node>