A token's key as stored in the keychain.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Crypto
Token Kit
Declaration
class TKTokenKeychainKey : TKToken Keychain Item
A token's key as stored in the keychain.
SDKs
Framework
class TKTokenKeychainKey : TKToken Keychain Item
init?(certificate: Sec Certificate?, object ID: TKToken .Object ID)
Initializes a token keychain key with data from the specified certificate reference and a given object ID.
var key Type: String
The type of the key. Currently, only k
and k
are supported values.
var application Tag: Data?
The private tag data.
var public Key Data: Data?
The public key data.
var public Key Hash: Data?
The SHA1 hash of the raw public key.
var can Decrypt: Bool
Whether the key can be used to decrypt data.
var can Sign: Bool
Whether the key can be used to sign data.
var can Perform Key Exchange: Bool
Whether the key can be used to perform Diffie-Hellman style cryptographic key exchange.
var is Suitable For Login: Bool
Whether the key can be used for system login.
var keychain Contents: TKToken Keychain Contents?
The contents of the keychain for this token.
class TKToken Keychain Contents
A representation of the state of the keychain for a particular 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.
typealias TKToken .Object ID
A unique and persistent identifier of a particular token object.