<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoTokenKit",
  "identifier" : "/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKTokenSmartCardPINAuthOperation"
  },
  "title" : "TKTokenSmartCardPINAuthOperation"
}
-->

# TKTokenSmartCardPINAuthOperation

A Smart Card PIN authentication operation.

```
class TKTokenSmartCardPINAuthOperation
```

## Topics

### Configuring the Operation

[`PINFormat`](/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation/pinFormat)

The PIN format.

[`APDUTemplate`](/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation/apduTemplate)

The template into which the PIN is filled in. `nil` by default.

[`PINByteOffset`](/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation/pinByteOffset)

The offset, in bytes, within the APDU template to mark the location for filling in the PIN.

[`smartCard`](/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation/smartCard)

A Smart Card to which the formatted APDU is sent in order to authenticate.

### Accessing the PIN

[`PIN`](/documentation/CryptoTokenKit/TKTokenSmartCardPINAuthOperation/pin)

The PIN value resulting from performing the operation.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`TKTokenAuthOperation`](/documentation/CryptoTokenKit/TKTokenAuthOperation)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)