---
title: TKSmartCardATR
framework: cryptotokenkit
role: symbol
role_heading: Class
path: cryptotokenkit/tksmartcardatr
---

# TKSmartCardATR

A parsed ATR (Answer To Reset) message from a Smart Card.

## Declaration

```swift
class TKSmartCardATR
```

## Overview

Overview This class declares a programmatic interface to parsing an ATR from data or a byte stream, and accessing the individual parts. note: The TKSmartCardATR class parses ATR messages according to the ISO/IEC 7816-3 specification.

## Topics

### Creating a Smart Card ATR

- [init(bytes:)](cryptotokenkit/tksmartcardatr/init(bytes:).md)
- [init(source:)](cryptotokenkit/tksmartcardatr/init(source:).md)

### Accessing ATR Attributes

- [protocols](cryptotokenkit/tksmartcardatr/protocols.md)
- [bytes](cryptotokenkit/tksmartcardatr/bytes.md)
- [historicalBytes](cryptotokenkit/tksmartcardatr/historicalbytes.md)
- [historicalRecords](cryptotokenkit/tksmartcardatr/historicalrecords.md)

### Retrieving Interface Groups

- [interfaceGroup(at:)](cryptotokenkit/tksmartcardatr/interfacegroup(at:).md)
- [interfaceGroup(for:)](cryptotokenkit/tksmartcardatr/interfacegroup(for:).md)
- [TKSmartCardATR.InterfaceGroup](cryptotokenkit/tksmartcardatr/interfacegroup.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Reading the Answer to Reset

- [atr](cryptotokenkit/tksmartcardslot/atr.md)
