Platforms to show: All Mac Windows Linux Cross-Platform

Back to TKSmartCardATRMBS class.

TKSmartCardATRMBS.Constructor(data as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a TKSmartCardATR object from a provided data object.

bytes: The ATR data to be parsed.

Returns a TKSmartCardATR object initialized with the parsed data. If bytes does not contain a valid ATR, raises UnsupportedOperationException.

TKSmartCardATRMBS.historicalRecords as TKCompactTLVRecordMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
A list of compact TLV records parsed from historical bytes.

TKSmartCardATRMBS.interfaceGroupAtIndex(index as Integer) as TKSmartCardATRInterfaceGroupMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the interface group at the specified index.

index: The index of the desired interface group.

Interface group indexes start at 1, as specified by ISO 7816-3.

Returns the interface group at the specified index, or nil if not present.

TKSmartCardATRMBS.interfaceGroupForProtocol(protocol as Integer) as TKSmartCardATRInterfaceGroupMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the interface group with the specified protocol.

protocol: The protocol used by the desired interface group.

Returns the interface group with the specified protocol, or nil if none exists.

TKSmartCardATRMBS.protocols as Integer()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
An array of protocols indicated in the ATR.

Each element in the returned array is an integer value corresponding to a member of the kProtocol* constants.
The returned protocols are ordered such that the default protocol is at index 0, and any duplicate values are removed.

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


The biggest plugin in space...