SmartCardAutomaticResponseApdu 类

定义

表示智能卡自动响应应用程序协议数据单元 (APDU) 。

public ref class SmartCardAutomaticResponseApdu sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory, 65536, Windows.Devices.SmartCards.SmartCardEmulatorContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardEmulatorContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SmartCardAutomaticResponseApdu final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardEmulatorContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory, 65536, "Windows.Devices.SmartCards.SmartCardEmulatorContract")]
class SmartCardAutomaticResponseApdu final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory), 65536, typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SmartCardAutomaticResponseApdu
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory), 65536, "Windows.Devices.SmartCards.SmartCardEmulatorContract")]
public sealed class SmartCardAutomaticResponseApdu
function SmartCardAutomaticResponseApdu(commandApdu, responseApdu)
Public NotInheritable Class SmartCardAutomaticResponseApdu
继承
Object Platform::Object IInspectable SmartCardAutomaticResponseApdu
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (在 v1.0 中引入)

注解

版本历史记录

Windows 版本 SDK 版本 已添加值
1511 10586 InputState
1511 10586 OutputState
1607 14393 AllowWhenCryptogramGeneratorNotPrepared

构造函数

SmartCardAutomaticResponseApdu(IBuffer, IBuffer)

初始化此类的新实例。

属性

AllowWhenCryptogramGeneratorNotPrepared

获取或设置一个布尔值,该值指示在未经用户授权的情况下无法准备使用 Cryptogram 材料时,是否继续执行自动 APDU 处理。

AppletId

获取或设置此 APDU 小程序标识符。

CommandApdu

获取或设置此 APDU 的命令。

CommandApduBitMask

获取或设置 APDU 命令的位掩码。

InputState

获取并放置输入状态。

OutputState

获取并放置输出状态。

ResponseApdu

获取或设置来自应用程序协议数据单元 (APDU) 的响应。

ShouldMatchLength

获取或设置一个布尔值,该值指示 CommandApdu 和传入命令是否应具有完全匹配的长度。

适用于

另请参阅