Class

TKSmartCardPINFormat

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

Topics

Configuring PIN Formatting

charset

The format of PIN characters. TKSmartCardPINCharsetNumeric by default.

encoding

The encoding of PIN characters. TKSmartCardPINEncodingASCII by default.

minPINLength

The minimum number of characters to form a valid PIN. 4 by default.

maxPINLength

The maximum number of characters to form a valid PIN. 8 by default.

PINBlockByteLength

The total length of the PIN block in bytes. 8 by default.

PINJustification

The justification within the PIN block. TKSmartCardPINJustificationLeft by default.

PINBitOffset

The offset, in bits, within the PIN block to mark a location for filling in the formatted PIN, which is justified with respect to the PINJustification property value. 0 by default.

PINLengthBitOffset

The offset, in bits, within the PIN block to mark a location for filling in the PIN length, which is always left justified. 0 by default.

PINLengthBitSize

The size, in bits, of the PIN length field. If set to 0, PIN length is not written. 0 by default.

PIN Characteristics

TKSmartCardPINCharset

Possible PIN character sets.

TKSmartCardPINEncoding

Possible PIN encoding types.

TKSmartCardPINJustification

Possible PIN justification types

Relationships

Inherits From

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).

TKSmartCardUserInteraction

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

TKSmartCardUserInteractionForPINOperation

A representation of user interaction for secure PIN operations on 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.