A representation of the state of the keychain for a particular token.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Crypto
Token Kit
Declaration
class TKTokenKeychainContents : NSObject
A representation of the state of the keychain for a particular token.
SDKs
Framework
class TKTokenKeychainContents : NSObject
func fill(with: [TKToken Keychain Item])
Fills the keychain with the specified items.
var items: [TKToken Keychain Item]
Returns all items for token in the keychain.
func key(for Object ID: TKToken .Object ID) -> TKToken Keychain Key
Returns the key for a specified object identifier.
func certificate(for Object ID: TKToken .Object ID) -> TKToken Keychain Certificate
Returns the key for a specified object identifier.
var keychain Contents: TKToken Keychain Contents?
The contents of the keychain for this token.
class TKToken Keychain Item
An abstract base class for managing a token’s contents as keychain items.
class TKToken Keychain Certificate
A token’s certificate as stored in the keychain.
class TKToken Keychain Key
A token's key as stored in the keychain.
typealias TKToken .Object ID
A unique and persistent identifier of a particular token object.