/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using System;
using System.Collections.Generic;
namespace Tizen.Network.Nfc
{
///
/// This structure contains the information of the Tag data.
///
/// 3
public class NfcTagInformation
{
private string _key;
private byte[] _informationValue;
internal NfcTagInformation(string key, byte[] informationValue)
{
_key = key;
_informationValue = informationValue;
}
///
/// Key value.
///
/// 3
public string Key
{
get
{
return _key;
}
}
///
/// Information value.
///
/// 3
public byte[] InformationValue
{
get
{
return _informationValue;
}
}
}
///
/// This structure contains the information of the secure element AID (Application Identifier).
///
/// 3
public class NfcRegisteredAidInformation
{
private NfcSecureElementType _seType;
private string _aid;
private bool _readOnly;
internal NfcRegisteredAidInformation(NfcSecureElementType seType, string aid, bool readOnly)
{
_seType = seType;
_aid = aid;
_readOnly = readOnly;
}
///
/// The Secure Element Type value.
///
/// 3
public NfcSecureElementType SeType
{
get
{
return _seType;
}
}
///
/// The targeted AID (Application Identifier) value.
///
/// 3
public string Aid
{
get
{
return _aid;
}
}
///
/// Read-only value. If this value is false, there are restrictions to the operation on this AID.
///
/// 3
public bool ReadOnly
{
get
{
return _readOnly;
}
}
}
}