Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SmartCard | MBS Mac64bit Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This class provides an interface for managing sessions with a smart card, transmitting requests, and facilitating user interaction.
You can create a TKSmartCardMBS object when a smart card is inserted into a slot, by calling the makeSmartCard method on the corresponding TKSmartCardSlotMBS object. To start communicating with the smart card, call the beginSession method on the TKSmartCardMBS object. Once an exclusive session has been established, you transmit data using the transmitRequest:reply: method. After you’ve finished communicating with a smart card, you call the endSession method.
If the smart card is physically removed from its slot, the session object becomes invalid, and any further calls to transmitRequest will return an error.
Constant | Value | Description |
---|---|---|
kProtocolAny | 65535 |
Any available transmission protocols. |
kProtocolNone | 0 |
No transmission protocols. |
kProtocolT0 | 1 |
T=0 transmission protocol. |
kProtocolT1 | 2 |
T=1 transmission protocol. |
kProtocolT15 | 32768 |
T=15 transmission protocol. |
Constant | Value | Description |
---|---|---|
TKErrorCodeAuthenticationFailed | -5 |
Authentication failed. |
TKErrorCodeAuthenticationNeeded | -9 |
Authentication is needed. |
TKErrorCodeBadParameter | -8 |
An invalid parameter was provided. |
TKErrorCodeCanceledByUser | -4 |
The operation was canceled by the user. |
TKErrorCodeCommunicationError | -2 |
A communication error occurred. |
TKErrorCodeCorruptedData | -3 |
The data was corrupted. |
TKErrorCodeNotImplemented | -1 |
The functionality is not implemented. |
TKErrorCodeObjectNotFound | -6 |
The object was not found. |
TKErrorCodeTokenNotFound | -7 |
The token was not found. |
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
TKSmartCardATRMBS - TKSmartCardPINFormatMBS