From: jh8801.jung Date: Mon, 3 Jul 2017 06:28:40 +0000 (+0900) Subject: Add since_tizen Tag X-Git-Tag: submit/trunk/20170823.075128~84^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0890a42e0b55d45d44959ab89cd51c237b1c9e2a;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Add since_tizen Tag Signed-off-by: jh8801.jung Change-Id: I471d85aed87122117415a287b6cd7aac4b7d9de8 --- diff --git a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs index 3a655ef..8c96427 100644 --- a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs +++ b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardChannel.cs @@ -23,6 +23,7 @@ namespace Tizen.Network.Smartcard /// /// A class for Smartcard channel informations. It allows applications to handle channel informations. /// + /// 3 /// http://tizen.org/privilege/secureelement public class SmartcardChannel : IDisposable { @@ -33,6 +34,7 @@ namespace Tizen.Network.Smartcard /// /// Whether the kind of channel is basic. /// + /// 3 public bool IsBasicChannel { get @@ -50,6 +52,7 @@ namespace Tizen.Network.Smartcard /// /// Whether the kind of channel is logical. /// + /// 3 public bool IsLogicalChannel { get @@ -67,6 +70,7 @@ namespace Tizen.Network.Smartcard /// /// Whether the channel is closed. /// + /// 3 public bool IsClosed { get @@ -84,6 +88,7 @@ namespace Tizen.Network.Smartcard /// /// The session that has opened the given channel. /// + /// 3 public SmartcardSession Session { get @@ -137,6 +142,7 @@ namespace Tizen.Network.Smartcard /// /// Closes the given channel to the Secure Element. /// + /// 3 public void Close() { int ret = Interop.Smartcard.Channel.ChannelClose(_channelHandle); @@ -151,6 +157,7 @@ namespace Tizen.Network.Smartcard /// /// Gets the response to the select command. /// + /// 3 /// Byte array to retrieve the SELECT response. public byte[] GetSelectedResponse() { @@ -175,6 +182,7 @@ namespace Tizen.Network.Smartcard /// /// Transmits an APDU command (as per ISO/IEC 7816-4) to the Secure Element. /// + /// 3 /// Byte array for the response APDU plus status words. /// Command APDU to be send to the secure element. public byte[] Transmit(byte[] cmd) @@ -201,6 +209,7 @@ namespace Tizen.Network.Smartcard /// /// Helper function to retrieves the response APDU of the previous transmit() call. /// + /// 3 /// Byte array for the response APDU plus status words. public byte[] GetTransmittedResponse() { @@ -225,6 +234,7 @@ namespace Tizen.Network.Smartcard /// /// Performs a selection of the next Applet on the given channel that matches to the partial Application ID(AID). /// + /// 3 /// True or false depending whether another applet with the partial Application ID(AID). public bool SelectNext() { diff --git a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs index 1627cf8..d901ce3 100755 --- a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs +++ b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs @@ -23,12 +23,14 @@ namespace Tizen.Network.Smartcard /// /// A class for Smartcard management. It allows applications to use Smartcard service. /// + /// 3 /// http://tizen.org/privilege/secureelement static public class SmartcardManager { /// /// Gets the list of available Secure Element readers. /// + /// 3 /// List of SmartcardReader objects. static public IEnumerable GetReaders() { diff --git a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardReader.cs b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardReader.cs index bfa1266..eb943d9 100644 --- a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardReader.cs +++ b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardReader.cs @@ -23,6 +23,7 @@ namespace Tizen.Network.Smartcard /// /// A class for Smartcard reader informations. It allows applications to handle reader informations. /// + /// 3 /// http://tizen.org/privilege/secureelement public class SmartcardReader : IDisposable { @@ -34,6 +35,7 @@ namespace Tizen.Network.Smartcard /// /// The name of reader. /// + /// 3 public string Name { get @@ -52,6 +54,7 @@ namespace Tizen.Network.Smartcard /// /// The existence of secure element. /// + /// 3 public bool IsSecureElementPresent { get @@ -113,6 +116,7 @@ namespace Tizen.Network.Smartcard /// /// Connects to a Secure Element in the given reader. /// + /// 3 /// The SmartcardSession object. public SmartcardSession OpenSession() { @@ -130,6 +134,7 @@ namespace Tizen.Network.Smartcard /// /// Closes all the sessions opened on the given reader. /// + /// 3 public void CloseSessions() { int ret = Interop.Smartcard.Reader.ReaderCloseSessions(_readerHandle); diff --git a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardSession.cs b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardSession.cs index bdadf29..9bae91e 100644 --- a/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardSession.cs +++ b/src/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardSession.cs @@ -23,6 +23,7 @@ namespace Tizen.Network.Smartcard /// /// A class for Smartcard session informations. It allows applications to handle session informations. /// + /// 3 /// http://tizen.org/privilege/secureelement public class SmartcardSession : IDisposable { @@ -37,6 +38,7 @@ namespace Tizen.Network.Smartcard /// /// The reader object that provides the given session. /// + /// 3 public SmartcardReader Reader { get @@ -60,6 +62,7 @@ namespace Tizen.Network.Smartcard /// /// The Answer to Reset(ATR) of this Secure Element. /// + /// 3 public byte[] Atr { get @@ -86,6 +89,7 @@ namespace Tizen.Network.Smartcard /// /// Whether the session is closed. /// + /// 3 public bool IsClosed { get @@ -149,6 +153,7 @@ namespace Tizen.Network.Smartcard /// /// Closes the connection with the Secure Element. /// + /// 3 public void Close() { int ret = Interop.Smartcard.Session.SessionClose(_sessionHandle); @@ -163,6 +168,7 @@ namespace Tizen.Network.Smartcard /// /// Closes any channel opened on the given session. /// + /// 3 public void CloseChannels() { int ret = Interop.Smartcard.Session.SessionCloseChannels(_sessionHandle); @@ -186,6 +192,7 @@ namespace Tizen.Network.Smartcard /// /// Gets an access to the basic channel, as defined in the ISO/IEC 7816-4 specification (the one that has number 0). /// + /// 3 /// The SmartcardChannel object for basic channel. /// Byte array containing the Application ID(AID) to be selected on the given channel. /// P2 byte of the SELECT command if executed. @@ -206,6 +213,7 @@ namespace Tizen.Network.Smartcard /// /// Open a logical channel with the Secure Element, selecting the Applet represented by the given Application ID(AID). /// + /// 3 /// The SmartcardChannel object for logical channel. /// Byte array containing the Application ID(AID) to be selected on the given channel. /// P2 byte of the SELECT command if executed.