<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoTokenKit",
  "identifier" : "/documentation/CryptoTokenKit/TKSmartCardTokenRegistrationManager",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKSmartCardTokenRegistrationManager"
  },
  "title" : "TKSmartCardTokenRegistrationManager"
}
-->

# TKSmartCardTokenRegistrationManager

Provides a centralized management system for registering and unregistering smartcards
using their token IDs.

```
class TKSmartCardTokenRegistrationManager
```

## Overview\discussion `Registered smartcard` keeps its itself accessible via Keychain and system will automatically
invoke an NFC slot when a cryptographic operation is required and asks to provide the registered card.

## Topics

### Instance Properties

[`var registeredSmartCardTokens: [String]`](/documentation/CryptoTokenKit/TKSmartCardTokenRegistrationManager/registeredSmartCardTokens)

Returns the tokenIDs of all currently registered smart card tokens

### Instance Methods

[`func registerSmartCard(tokenID: String, promptMessage: String) throws`](/documentation/CryptoTokenKit/TKSmartCardTokenRegistrationManager/registerSmartCard(tokenID:promptMessage:))

Registers a smartcard with a specific token ID.

[`func unregisterSmartCard(tokenID: String) throws`](/documentation/CryptoTokenKit/TKSmartCardTokenRegistrationManager/unregisterSmartCard(tokenID:))

Unregisters a smartcard for the provided token ID.

### Type Properties

[`class var `default`: TKSmartCardTokenRegistrationManager`](/documentation/CryptoTokenKit/TKSmartCardTokenRegistrationManager/default)

Default instance of registration manager

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

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

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

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

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

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

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

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

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

---

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)