Class

TKSmartCardUserInteractionForPINOperation

The TKSmartCardUserInteractionForPINOperation is a base subclass of TKSmartCardUserInteraction that represents the user interaction for the secure PIN operations on a Smart Card reader.

Overview

There are two types of user interactions: those for secure PIN change and those for secure PIN validation. These interactions are instances of the TKSmartCardUserInteractionForSecurePINChange, or TKSmartCardUserInteractionForSecurePINVerification subclasses of TKSmartCardUserInteractionForPINOperation, respectively.

You interact with instances of one of the subclasses of TKSmartCardUserInteractionForPINOperation when calling the userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset: and userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset: methods on an TKSmartCard object.

The result of a user interaction is available once the interaction has completed.

Topics

Configuring User Interaction

PINCompletion

The conditions under which PIN entry should be considered complete.

PINMessageIndices

A list of message indices referring to a predefined message table, used to specify the type and number of messages displayed during the PIN operation. nil by default.

locale

The locale for the displayed messages. If nil, the user’s current locale is used. By default, this value is the current locale of the system.

resultSW

The SW1-SW2 status bytes.

resultData

The returned data without SW1-SW2 bytes, if any.

Relationships