Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

TKSmartCardPINFormatMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class SmartCard MBS Mac64bit Plugin 18.5 Yes No No Yes, macOS only No
Function: The formatting properties for a PIN, such as character encoding and length constraints.
Notes:
You typically interact with TKSmartCardPINFormatMBS objects when calling the userInteractionForSecurePINChange and userInteractionForSecurePINVerification methods on an instance of TKSmartCardMBS.

Available in macOS 10.11 or newer.

Feedback, Comments & Corrections

PIN character sets

Constant Value Description
kCharsetAlphanumeric 1 PIN can be composed of digits and letters.
kCharsetNumeric 0 PIN is only composed of digits.
kCharsetUpperAlphanumeric 2 PIN can be composed of digits and uppercase letters.

Encodings

Constant Value Description
kEncodingASCII 1 Characters are encoded in ASCII format (for example, 1234 is encoded as 31h 32h 33h 34h).
kEncodingBCD 2 Characters (only digits) are encoded in BCD format (for example, 1234 is encoded as 12h 34h).
kEncodingBinary 0 Characters are encoded in Binary format (for example, 1234 is encoded as 01h 02h 03h 04h).

PIN Justification

Constant Value Description
kJustificationLeft 0 Justify to the left.
kJustificationRight 1 Justify to the right.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:


The items on this page are in the following plugins: MBS Mac64bit Plugin.


TKSmartCardMBS   -   TKSmartCardSlotManagerMBS




Links
MBS Xojo blog