summaryrefslogtreecommitdiff
path: root/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs
diff options
context:
space:
mode:
authorjh8801.jung <jh8801.jung@samsung.com>2017-07-03 15:28:40 +0900
committerjh8801.jung <jh8801.jung@samsung.com>2017-07-03 15:28:54 +0900
commitb6385839e8179ccfa051136dcecf67a70a17bce7 (patch)
tree0663e6968f360af6b12651dfbc28d419ae74e3a6 /Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs
parent4f398e464fdd846571c5a24e07dfb1817c349953 (diff)
downloadsmartcard-b6385839e8179ccfa051136dcecf67a70a17bce7.tar.gz
smartcard-b6385839e8179ccfa051136dcecf67a70a17bce7.tar.bz2
smartcard-b6385839e8179ccfa051136dcecf67a70a17bce7.zip
Add since_tizen Tagsubmit/tizen/20170703.105546
Signed-off-by: jh8801.jung <jh8801.jung@samsung.com> Change-Id: I471d85aed87122117415a287b6cd7aac4b7d9de8
Diffstat (limited to 'Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs')
-rw-r--r--Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs b/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs
index 3a655ef..8c96427 100644
--- a/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs
+++ b/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs
@@ -23,6 +23,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// A class for Smartcard channel informations. It allows applications to handle channel informations.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/secureelement</privilege>
public class SmartcardChannel : IDisposable
{
@@ -33,6 +34,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Whether the kind of channel is basic.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsBasicChannel
{
get
@@ -50,6 +52,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Whether the kind of channel is logical.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsLogicalChannel
{
get
@@ -67,6 +70,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Whether the channel is closed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsClosed
{
get
@@ -84,6 +88,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// The session that has opened the given channel.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public SmartcardSession Session
{
get
@@ -137,6 +142,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Closes the given channel to the Secure Element.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Close()
{
int ret = Interop.Smartcard.Channel.ChannelClose(_channelHandle);
@@ -151,6 +157,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Gets the response to the select command.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>Byte array to retrieve the SELECT response.</returns>
public byte[] GetSelectedResponse()
{
@@ -175,6 +182,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Transmits an APDU command (as per ISO/IEC 7816-4) to the Secure Element.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>Byte array for the response APDU plus status words.</returns>
/// <param name="cmd">Command APDU to be send to the secure element.</param>
public byte[] Transmit(byte[] cmd)
@@ -201,6 +209,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Helper function to retrieves the response APDU of the previous transmit() call.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>Byte array for the response APDU plus status words.</returns>
public byte[] GetTransmittedResponse()
{
@@ -225,6 +234,7 @@ namespace Tizen.Network.Smartcard
/// <summary>
/// Performs a selection of the next Applet on the given channel that matches to the partial Application ID(AID).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>True or false depending whether another applet with the partial Application ID(AID).</returns>
public bool SelectNext()
{