ATR
@objcMembers
public class ATR : BaseClass
SmartCardIO - ATR class
A Smart Card’s answer-to-reset bytes. A Card’s ATR object can be obtained by calling Card.getATR().
-
Returns a copy of the bytes contained in this ATR.
Declaration
Swift
public func getBytes() -> DataReturn Value
Data containing the ATR
-
Returns a copy of the historical bytes in this ATR. If this ATR does not contain historical bytes, an Data buffer of length zero is returned.
Declaration
Swift
public func getHistoricalBytes() -> DataReturn Value
Data containing the ATR historical bytes
-
Returns a string representation of this ATR.
Declaration
Swift
public func toString() -> StringReturn Value
String representation of this ATR
ATR Class Reference