I want to save an object that may contain sensitive data in a keychain. To do this, I will convert this object to an instance of NSData.
I'm a little confused about which attributes I need to use. Is it possible to use kSecClassGenericPassword as kSecClass , although this is not a password? In addition, I installed kSecAttrAccount . I read somewhere that I also need to add kSecAttrService . What consequences can happen if I do not?
source share