Contents

kSecClassGenericPassword

The value that indicates a generic password item.

Declaration

let kSecClassGenericPassword: CFString

Mentioned in

Discussion

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

Calls to SecItemAdd(_:_:) that add a generic password 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 generic password item, and don’t form part of its composite primary key: