4 <name>Tizen.Network.Smartcard</name>
7 <member name="T:Tizen.Network.Smartcard.SmartcardChannel">
9 The class for Smartcard channel information. It allows applications to handle the channel information.
11 <since_tizen> 3 </since_tizen>
12 <privilege>http://tizen.org/privilege/secureelement</privilege>
14 <member name="P:Tizen.Network.Smartcard.SmartcardChannel.IsBasicChannel">
16 Whether the kind of channel is basic.
18 <since_tizen> 3 </since_tizen>
20 <member name="P:Tizen.Network.Smartcard.SmartcardChannel.IsLogicalChannel">
22 Whether the kind of channel is logical.
24 <since_tizen> 3 </since_tizen>
26 <member name="P:Tizen.Network.Smartcard.SmartcardChannel.IsClosed">
28 Whether the channel is closed.
30 <since_tizen> 3 </since_tizen>
32 <member name="P:Tizen.Network.Smartcard.SmartcardChannel.Session">
34 The session that has opened the given channel.
36 <since_tizen> 3 </since_tizen>
38 <member name="M:Tizen.Network.Smartcard.SmartcardChannel.Close">
40 Closes the given channel to the Secure Element.
42 <since_tizen> 3 </since_tizen>
43 <exception cref="T:System.NotSupportedException">Thrown when the Smartcard is not supported.</exception>
44 <exception cref="T:System.InvalidOperationException">Thrown when the method failed due to an invalid operation.</exception>
46 <member name="M:Tizen.Network.Smartcard.SmartcardChannel.GetSelectedResponse">
48 Gets the response to the select command.
50 <since_tizen> 3 </since_tizen>
51 <returns>Byte array to retrieve the select response.</returns>
53 <member name="M:Tizen.Network.Smartcard.SmartcardChannel.Transmit(System.Byte[])">
55 Transmits the APDU command (as per ISO/IEC 7816-4) to the secure element.
57 <since_tizen> 3 </since_tizen>
58 <returns>Byte array for the response APDU plus status words.</returns>
59 <param name="cmd">Command APDU to be sent to the secure element.</param>
61 <member name="M:Tizen.Network.Smartcard.SmartcardChannel.GetTransmittedResponse">
63 Helper function to retrieve the response APDU of the previous transmit() call.
65 <since_tizen> 3 </since_tizen>
66 <returns>Byte array for the response APDU plus status words.</returns>
68 <member name="M:Tizen.Network.Smartcard.SmartcardChannel.SelectNext">
70 Performs a selection of the next applet on the given channel that matches to the partial application ID (AID).
72 <since_tizen> 3 </since_tizen>
73 <returns>True or false depending whether another applet with the partial application ID (AID).</returns>
75 <member name="T:Tizen.Network.Smartcard.SmartcardManager">
77 The class for Smartcard management. It allows applications to use the Smartcard service.
79 <since_tizen> 3 </since_tizen>
80 <privilege>http://tizen.org/privilege/secureelement</privilege>
82 <member name="M:Tizen.Network.Smartcard.SmartcardManager.GetReaders">
84 Gets the list of available secure element readers.
86 <since_tizen> 3 </since_tizen>
87 <returns>List of SmartcardReader objects.</returns>
89 <member name="T:Tizen.Network.Smartcard.SmartcardReader">
91 The class for Smartcard reader information. It allows applications to handle the reader information.
93 <since_tizen> 3 </since_tizen>
94 <privilege>http://tizen.org/privilege/secureelement</privilege>
96 <member name="P:Tizen.Network.Smartcard.SmartcardReader.Name">
98 The name of the reader.
100 <since_tizen> 3 </since_tizen>
102 <member name="P:Tizen.Network.Smartcard.SmartcardReader.IsSecureElementPresent">
104 The existence of a secure element.
106 <since_tizen> 3 </since_tizen>
108 <member name="M:Tizen.Network.Smartcard.SmartcardReader.OpenSession">
110 Connects to a secure element in the given reader.
112 <since_tizen> 3 </since_tizen>
113 <returns>The SmartcardSession object.</returns>
115 <member name="M:Tizen.Network.Smartcard.SmartcardReader.CloseSessions">
117 Closes all the sessions opened on the given reader.
119 <since_tizen> 3 </since_tizen>
120 <exception cref="T:System.NotSupportedException">Thrown when the Smartcard is not supported.</exception>
121 <exception cref="T:System.InvalidOperationException">Thrown when the method failed due to an invalid operation.</exception>
123 <member name="T:Tizen.Network.Smartcard.SmartcardSession">
125 The class for the Smartcard session information. It allows applications to handle the session information.
127 <since_tizen> 3 </since_tizen>
128 <privilege>http://tizen.org/privilege/secureelement</privilege>
130 <member name="P:Tizen.Network.Smartcard.SmartcardSession.Reader">
132 The reader object that provides the given session.
134 <since_tizen> 3 </since_tizen>
136 <member name="P:Tizen.Network.Smartcard.SmartcardSession.Atr">
138 The Answer to Reset (ATR) of this secure element.
140 <since_tizen> 3 </since_tizen>
142 <member name="P:Tizen.Network.Smartcard.SmartcardSession.IsClosed">
144 Whether the session is closed.
146 <since_tizen> 3 </since_tizen>
148 <member name="M:Tizen.Network.Smartcard.SmartcardSession.Close">
150 Closes the connection with the secure element.
152 <since_tizen> 3 </since_tizen>
153 <exception cref="T:System.NotSupportedException">Thrown when the Smartcard is not supported.</exception>
154 <exception cref="T:System.InvalidOperationException">Thrown when the method failed due to invalid operation.</exception>
156 <member name="M:Tizen.Network.Smartcard.SmartcardSession.CloseChannels">
158 Closes any channel opened on the given session.
160 <since_tizen> 3 </since_tizen>
161 <exception cref="T:System.NotSupportedException">Thrown when the Smartcard is not supported.</exception>
162 <exception cref="T:System.InvalidOperationException">Thrown when the method failed due to an invalid operation.</exception>
164 <member name="M:Tizen.Network.Smartcard.SmartcardSession.OpenBasicChannel(System.Byte[],System.Byte)">
166 Gets an access to the basic channel, as defined in the ISO/IEC 7816-4 specification (the one that has number 0).
168 <since_tizen> 3 </since_tizen>
169 <returns>The SmartcardChannel object for the basic channel.</returns>
170 <param name="aid">The byte array containing the Application ID(AID) to be selected on the given channel.</param>
171 <param name="p2">P2 byte of the SELECT command if executed.</param>
172 <exception cref="T:System.NotSupportedException">Thrown when the Smartcard is not supported.</exception>
173 <exception cref="T:System.InvalidOperationException">Thrown when the method failed due to invalid operation.</exception>
175 <member name="M:Tizen.Network.Smartcard.SmartcardSession.OpenLogicalChannel(System.Byte[],System.Byte)">
177 Open a logical channel with the secure element, selecting the Applet represented by the given application ID (AID).
179 <since_tizen> 3 </since_tizen>
180 <returns>The SmartcardChannel object for the logical channel.</returns>
181 <param name="aid">The byte array containing the Application ID(AID) to be selected on the given channel.</param>
182 <param name="p2">P2 byte of the SELECT command if executed.</param>
183 <exception cref="T:System.NotSupportedException">Thrown when the Smartcard is not supported.</exception>
184 <exception cref="T:System.InvalidOperationException">Thrown when the method failed due to an invalid operation.</exception>