Finds the next keychain item matching the given search criteria.
- macOS 10.0–10.7Deprecated
A reference to the current search criteria. The search object is created in the
Secfunction and must be released by calling the
Keychain Search Create From Attributes
CFReleasefunction when you are done with it.
On return, a pointer to a keychain item object of the next matching keychain item, if any. You must call the
CFReleasefunction to release this object when you are finished using it.
A result code. See Security Framework Result Codes.
Each item stored in the keychain contains data (such as a certificate), which is indexed by the item’s attributes. Use the
Sec function to specify attributes to search for. If the
Sec function finds a match, you can use the
Sec function to retrieve the item’s data.