Class

TKSmartCardSlot

A single smart card reader slot in the system.

Declaration

@interface TKSmartCardSlot : NSObject

Overview

Use the TKSmartCardSlotManager class to manage all the smart card reader slots available to the system. You can retrieve the names of available smart card reader slots for a system using the slotNames property of a manager object, and access instances of TKSmartCardSlot using the getSlotWithName:reply: method.

Topics

Instantiating Smart Cards

- makeSmartCard

Creates a new TKSmartCard object representing the currently inserted Smart Card.

Getting the Slot State

state

The current state of the Smart Card reader slot.

TKSmartCardSlotState

All smart card slot states.

Getting the Slot Configuration

name

The name of the Smart Card reader slot.

maxInputLength

The maximum length of input APDU (Application Protocol Data Unit) that the Smart Card reader slot is able to transfer to the Smart Card.

maxOutputLength

The maximum length of output APDU (Application Protocol Data Unit) that the Smart Card reader slot is able to transfer from the Smart Card.

Reading the Answer to Reset

ATR

The ATR (Answer to Reset) of the inserted Smart Card, or nil if no Smart Card is inserted or the inserted Smart Card is mute.

TKSmartCardATR

A parsed ATR (Answer To Reset) message from a Smart Card.

Relationships

Inherits From

See Also

Smart Cards

TKSmartCard

A representation of a smart card.

TKSmartCardSlotManager

An interface to all available smart card reader slots.