Contents

kSecClassKey

The value that indicates a cryptographic key item.

Declaration

let kSecClassKey: CFString

Mentioned in

Discussion

The following keychain item attributes form the composite primary key of a cryptographic key item:

Calls to SecItemAdd(_:_:) that add a cryptographic key item with the same values for all of these attributes as an existing item result in errSecDuplicateItem.

The following keychain item attributes apply to a cryptographic key item, and don’t form part of its composite primary key: