Platforms to show: All Mac Windows Linux Cross-Platform
TKSmartCardPINFormatMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SmartCard | MBS Mac64bit Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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.
- 10 properties
- property Charset as Integer
- property Encoding as Integer
- property Handle as Integer
- property MaxPINLength as Integer
- property MinPINLength as Integer
- property PINBitOffset as Integer
- property PINBlockByteLength as Integer
- property PINJustification as Integer
- property PINLengthBitOffset as Integer
- property PINLengthBitSize as Integer
- method Constructor
- 8 constants
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:
- TKSmartCardMBS.userInteractionForSecurePINChange(PINFormat as TKSmartCardPINFormatMBS, APDU as MemoryBlock, currentPINByteOffset as Integer, newPINByteOffset as Integer) as TKSmartCardUserInteractionForSecurePINChangeMBS
- TKSmartCardMBS.userInteractionForSecurePINVerification(PINFormat as TKSmartCardPINFormatMBS, APDU as MemoryBlock, PINByteOffset as Integer) as TKSmartCardUserInteractionForSecurePINVerificationMBS
Some properties using for this class:
- TKTokenSmartCardPINAuthOperationMBS.PINFormat as TKSmartCardPINFormatMBS
The items on this page are in the following plugins: MBS Mac64bit Plugin.
TKSmartCardMBS - TKSmartCardSlotManagerMBS