Instance Method

certificate(forObjectID:)

Returns the key for a specified object identifier.

Declaration

func certificate(forObjectID objectID: TKToken.ObjectID) throws -> TKTokenKeychainCertificate

Parameters

objectID

The object identifier for the keychain item.

error

On return, if no such certificate exists, contains information about the error.

Return Value

The certificate, or nil if no certificate exists.

See Also

Accessing Keychain Items

var items: [TKTokenKeychainItem]

Returns all items for token in the keychain.

func key(forObjectID: TKToken.ObjectID) -> TKTokenKeychainKey

Returns the key for a specified object identifier.