<!--
{
  "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/TKTokenKeychainContents",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKTokenKeychainContents"
  },
  "title" : "TKTokenKeychainContents"
}
-->

# TKTokenKeychainContents

A representation of the state of the keychain for a particular token.

```
class TKTokenKeychainContents
```

## Topics

### Adding Keychain Items

[`-  fillWithItems:`](/documentation/CryptoTokenKit/TKTokenKeychainContents/fill(with:))

Fills the keychain with the specified items.

### Accessing Keychain Items

[`items`](/documentation/CryptoTokenKit/TKTokenKeychainContents/items)

Returns all items for token in the keychain.

[`-  keyForObjectID:error:`](/documentation/CryptoTokenKit/TKTokenKeychainContents/key(forObjectID:))

Returns the key for a specified object identifier.

[`-  certificateForObjectID:error:`](/documentation/CryptoTokenKit/TKTokenKeychainContents/certificate(forObjectID:))

Returns the key for a specified object identifier.

## Relationships

### Conforms To

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

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

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

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

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

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

### Inherits From

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

---

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)