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

# TKSmartCardUserInteractionDelegate

The interface implemented by a Smart Card user interaction delegate to handle user interaction events.

```
protocol TKSmartCardUserInteractionDelegate
```

## Topics

### Delegate Methods

[`characterEntered(in:)`](/documentation/CryptoTokenKit/TKSmartCardUserInteractionDelegate/characterEntered(in:))

Tells the delegate that a valid character has been entered.

[`correctionKeyPressed(in:)`](/documentation/CryptoTokenKit/TKSmartCardUserInteractionDelegate/correctionKeyPressed(in:))

Tells the delegate that a correction key has been pressed.

[`validationKeyPressed(in:)`](/documentation/CryptoTokenKit/TKSmartCardUserInteractionDelegate/validationKeyPressed(in:))

Tells the delegate that the validation key has been pressed, indicating the end of PIN entry.

[`invalidCharacterEntered(in:)`](/documentation/CryptoTokenKit/TKSmartCardUserInteractionDelegate/invalidCharacterEntered(in:))

Tells the delegate that an invalid character has been entered.

[`oldPINRequested(in:)`](/documentation/CryptoTokenKit/TKSmartCardUserInteractionDelegate/oldPINRequested(in:))

Tells the delegate that the old PIN needs to be entered.

[`newPINRequested(in:)`](/documentation/CryptoTokenKit/TKSmartCardUserInteractionDelegate/newPINRequested(in:))

Tells the delegate that the new PIN needs to be entered.

[`newPINConfirmationRequested(in:)`](/documentation/CryptoTokenKit/TKSmartCardUserInteractionDelegate/newPINConfirmationRequested(in:))

Tells the delegate that the new PIN needs to be re-entered for confirmation.



---

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)