Class

TKSmartCardUserInteractionForPINOperation

A representation of user interaction for 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

Managing Pin Completion

PINCompletion

The conditions under which PIN entry should be considered complete.

Configuring Messages

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.

Accessing Response Data

resultSW

The SW1-SW2 status bytes.

resultData

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

Relationships

See Also

Managing User Interaction

userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:

Creates and returns a new user interaction object for secure PIN verification using the Smart Card reader facilities.

userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:

Creates a new user interaction object for secure PIN change using the smart card reader facilities (typically a HW keypad).

TKSmartCardPINFormat

The formatting properties for a PIN, such as character encoding and length constraints.

TKSmartCardUserInteraction

The base class for encapsulating user interaction with a Smart Card reader.

TKSmartCardUserInteractionForSecurePINChange

A representation of the user interaction for secure PIN change operations on a Smart Card reader.

TKSmartCardUserInteractionForSecurePINVerification

A representation of the user interaction for secure PIN change verification on a Smart Card reader.