Function

SecKeychainItemGetTypeID()

Returns the unique identifier of the opaque type to which a keychain item object belongs.

Declaration

func SecKeychainItemGetTypeID() -> CFTypeID

Return Value

A value that identifies the opaque type of a SecKeychainItem object.

Discussion

This function returns a value that uniquely identifies the opaque type of a SecKeychainItem object. You can compare this value to the CFTypeID identifier obtained by calling the CFGetTypeID(_:) function on a specific object. These values might change from release to release or platform to platform.

See Also

First Steps

Using the Keychain to Manage User Secrets

Relieve the user of remembering small secrets by storing them in the keychain.

class SecKeychainItem

An opaque type that represents a keychain item.