Reputation: 14404
How do I retrieve the attributes of a SecKeychainRef
object?
Thanks
Upvotes: 0
Views: 1659
Reputation: 4529
For those looking for a more general answer to the question of a replacement for the deprecated SecKeychainSearchCreateFromAttributes
(which is the search that lead me to this page), SecItemCopyMatching
is what is needed.
Upvotes: 3
Reputation: 43472
Based on the conversation above, sounds like you're looking for SecKeychainFindGenericPassword()
or SecKeychainFindInternetPassword()
. For more information on using the keychain in Mac OS X, including replacements for recently-deprecated APIs, you should read the Keychain Services Programming Guide
Upvotes: 0