I am developing an application for the iPhone.
The application accesses some web services that other devices must recognize. User ID.
Since the UDID is deprecated, I need to call CFUUIDCreate to create my own UUID for this purpose.
The identifier is security sensitive: my entire network connection is encrypted, and I do not want anyone except my authenticated server to know that the UUID. In addition, I want this identifier to stop reinstalling.
Using a keychain to store this UUID seems like an obvious solution.
How to do it?
There are several examples on the Internet of how to store a username and password in a keychain. I have neither user nor password, only 16 bytes of UUID (or one NSString).
Which kSecClass should I use?
What attributes do I need to set and get?
What attributes are optional and required?
What header / frame defines CSSM_ALGORITHMS?
The document mentions cssmtype.h, autocompletion xcode has <Security / cssmtype.h> however the xcode compiler says "file not found".
"" . , , , " ", . , " ".
!